Navigate to environment variables screen
There are two ways to navigate to your environment to add variables. Option 1 - From your project:- Open your Project and click Settings.
- Click Manage Environment > Edit Definition.
- Open Domino and click Govern > Environments.
- From Environments Overview, scroll to locate your Environment.
- Click the three dots and choose Edit Definition.

Add compute environment variables
On the Edit Definition page, scroll down to the Environment variables section.
-
Click the plus icon and add the following:
- Variable Name: Enter the variable name. For example, API_KEY.
- Value: Enter a value for the variable. The maximum length for a value is 64K.
- Declare the variable in the Dockerfile instructions with an ARG statement. Docker’s official site has more detailed information about Docker.
- Click Build after entering new variables and updating the Dockerfile instruction.
Next Steps
- Our Best Practices will guide you in setting up and maintaining your Domino environments.
- Set up user environment variables for each user. The system injects these variables at execution time for any run initiated by that user.
- Learn to create model variables to add, modify, or delete variables for your models.
- The Default Domino Variables glossary contains details about variables automatically injected by Domino.