Data tags let you tag different data segments, such as Staging, Production, or us-east, and control which environments each tag is allowed in. Use them to:
- Use non-production data tags in Edit mode so developers and coding agents can safely build and test without touching production data.
- Assign production data tags to the Production environment to keep production data isolated.
- Add multiple data tags to an environment (e.g.,
us-east,us-west,eu-west) to let users switch between regions in deployed apps.
Create a data tag
Admins can create new data tags to represent different data environments, regions, or stages. To add a data tag:- Navigate to the Environments page under Organization Settings
- Click Add Data Tag
- Provide a unique name and key for your data tag
- Select which environments (Edit, Preview, Production) this data tag is allowed in
- Click Create
Environment assignment
When creating or editing a data tag, you decide which environments it can be used in. This gives admins control over data access:- A tag allowed only in Edit and Preview keeps that data source out of production
- A tag allowed only in Production ensures production credentials are never used during development
- A tag allowed in all three environments can be used anywhere
Configure integration credentials
In Prod AI, integrations can have multiple configurations to connect to different database instances or API servers. Each configuration is linked to one or more data tags. When you create a new integration, Prod AI automatically generates two configurations:
You can add additional configurations as needed.
To update or add configurations:
- Navigate to Integrations and search for your integration or create a new one
- To add a configuration, click the ➕ icon for “Add new configuration” and select the data tag(s)
- Fill out the configuration form with values specific to the selected data tags
- Click Test Connection to verify connectivity
- Create or Save your changes
Set up data tags for an application
Each environment (Edit, Preview, Production) in your app can have one or more data tags assigned. Only data tags that the admin has allowed for a given environment appear as options. For example, if a data tag is only allowed in Production, it won’t appear as an option in Edit or Preview. To configure data tags for your app:- Open the Settings icon on the lower left corner of any App
- Click Environments

- For each environment, select the data tags you want to use from the allowed options
- Choose a default data tag for each environment

Change the default data tag
When multiple data tags are available in an environment, you can set a default. This is the data tag used to execute APIs in this environment by default. To change the default, select the radio button next to the data tag you want to use by default: