Environment variables allow you to store values that differ between environments, such as staging and production. They help reduce manual updates when moving projects between environments and make configuration easier to maintain. An environment variable can be reused across projects and assigned different values per environment, or shared globally with the same value everywhere.
Use environment variables when:
- The same project is deployed to multiple environments
- Values such as URLs, identifiers, or credentials differ by environment
- Multiple projects share the same configuration concept but require different values
This approach supports consistent configuration while keeping environment‑specific data separated.
To create environment variables:
Once created, environment variables can be referenced in:
- Expressions
- Mappings
- Configuration fields that support variable usage
To use different values in different environments, create multiple variables with the same name, each assigned to a different environment. When the project runs, the system automatically uses the value that matches the current environment.