Environment variables
The Env tab inside a component is where you manage the settings and secrets your app needs to run - API keys, feature flags, connection details, and anything else it reads at startup.
What it does
Section titled “What it does”Environment variables configure your app without changing its code. They’re scoped to the one component you’re viewing - a backend and a frontend can have entirely different settings, even in the same app.
How to get there
Section titled “How to get there”Open a component from your dashboard, then click the Env tab.
Plain variables vs. secrets
Section titled “Plain variables vs. secrets”- Plain variables stay visible after you save them - good for things like feature flags or non-sensitive config.
- Secrets are hidden after saving - good for API keys, passwords, and anything sensitive. You can replace a secret’s value, but you won’t see it again once it’s saved.
Build-time secrets - values your app needs while it’s being built, rather than while it’s running - live under the Build config tab instead.
- Open the Env tab on the component you want to configure.
- Add a variable. Give it a name and a value, and mark it as a secret if it’s sensitive.
- Save. Orbit triggers a new release so the change takes effect.
Common issues
Section titled “Common issues”- My change didn’t take effect. Environment variable changes only apply on the next release - check Deploy & release to confirm a new one ran.
- I need a variable available at build time, not just runtime. Add it under Build config instead of Env.
Next steps
Section titled “Next steps”- Deploy & release - see the release your change triggered
- Your components - back to the full tab list