Configure environment variables
You’ll inject configuration — API keys, database URLs, feature flags — into running instances.
Set app variables
- Open the app.
- Go to configuration / environment variables.
- Add or edit keys and values.
- Save. Instances recreate as needed so new values apply.
Use secret fields when offered — those values stay protected instead of appearing as plain text everywhere.
Attach shared variables
Shared variables are groups you define once and attach to multiple apps.
- From the home dashboard, open Shared variables.
- Create a group and add keys/values.
- When creating or editing an app, attach the group you need.
UI label
Some screens still say Shared Environments. Preferred term is shared variables.
Prefer shared groups for values that must stay consistent across several apps.
You’re done when
- New keys appear on the app and instances pick them up after recreate.
- Shared groups attach cleanly to more than one app when needed.
- Logs show a clean start after the change.
Good habits
- Do not put production secrets in screenshots or tickets.
- Prefer one shared group per concern (database credentials vs feature flags).