Define Environment Values¶
Create a New Value¶
In the Realm UI, click Values in the left navigation menu and then click Create New Value. Enter a name for the value and select Environment for the value type.
Define Values for Each Environment¶
Define a value for each environment that you want to access the value from. You can define a different value for each environment and may leave a value undefined in any environment.
Specify Your App Environment¶
Your app always runs in a specific environment, which affects the value of all environment values. You can specify the current environment for your app on the Deploy > Environment screen.
Save and Deploy¶
Once you've defined the environment value, click Save to update the configuration. If your application has deployment drafts enabled, click Review & Deploy to deploy the changes.