Environment variables š
Configure values that change by environment
Use environment variables when you need different values in development and production.
They are useful for secrets, datasource credentials, and environment-specific endpoints.
Unlock environment variables
Environment variables are locked on the free tier.
Upgrade your plan to use them.
Create environment variables
- Open Settings > Environment
- Add a new variable
- Set the development value
- Set the production value
- Save the variable
Variable names cannot contain spaces. Use underscores instead.
Values are encrypted and cannot be retrieved after saving.
Use environment variables in datasources
Use environment variables in datasource settings when the connection details change by environment.
After you select a variable, the field is locked to that value.
Use environment variables in queries
Use environment variables in query bindings when the value should be shared across requests.
Example:
{{ env.env_variable }}Use environment variables in automations
Use environment variables in automations for reusable values such as webhook URLs or external service credentials.
Notes
- Development and production values are separate
- Publishing pushes the development configuration to production
- Environment variables are available in datasources, queries, and automations where supported
Updated 4 months ago