Creating Environment Variables - Creating Environment Variables - 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. - Content Innovation Cloud - Hyland Agent Builder - Current/Hyland-Agent-Builder/ecb1759216659333 - Current - Current

Hyland Agent Builder

Platform
Content Innovation Cloud
Product
Hyland Agent Builder
Release
Current
License
ft:lastPublication
2026-11-09T23:23:21.663012
ft:locale
en-US

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:

  1. Open the main Studio Modeler page.
  2. Select Variables from the left pane.
    The Variables pane is displayed at the center of the page.
  3. Click the Create Variable button.
    The Create Variable dialog box is displayed.
    Empty Create Variable dialog box with a cursor visible in the first field.
  4. Enter the variable name into the Variable Name field.
    The variable name should be informative and easy to recognize. You will have to call the name later in the project configuration to be able to use it between different environments.
  5. Enter the value of the variable into the Value field.
  6. Select the environment from the Environment drop-down menu.
    If you select None, the variable is available in all environments globally, across the projects. If an environment is selected, the value is environment-specific.
  7. Select Create Variable.
    The variable is created and associated with the selected environment.

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.