Creating environments
- Go to Settings > Environments
- Click Add Environment
- Enter a name (e.g., “staging”)
- Click Create
Configuring connectors per environment
When you edit a resource, you can configure each environment independently:- Go to Organization Settings > Connectors
- Click on a connector to edit it
- Select the desired environment
- Enter the connection details for that environment
- Click Save
Example
Default Build Environment
Organizations can designate a separate “default build environment”, distinct from the production environment. It is the environment you work in until you choose one yourself. This is useful for testing and development workflows where you want the AI to work against staging data.Setting a default build environment
- Go to Settings > Environments
- In the environment list, select the Set as default build option next to your chosen environment
- The environment will be marked with a “Default” badge
Production deployments always use the default (production) environment, regardless of the default build environment setting.
Your environment choice
Each person picks one environment per organization: their environment choice. It is yours, not an app’s, so it applies to everything you do by hand:
Until you pick an environment, the calls that follow your choice use the organization’s default build environment.
If your organization has only one environment, there is nothing to choose and the environment selector and tools don’t appear.
Selecting environments in the web editor
The web editor includes an environment selector in the bottom right of the preview. Click it to switch between available environments. When you switch environments:- Your environment choice changes for every app, not just this one
- Every app preview you have open reloads with the new resource configuration
- API calls use the selected environment’s credentials
- Preview reflects the environment-specific data
Selecting environments from MCP clients and chats
In an organization with more than one environment, the Platform Agent and MCP clients have two tools:get_environmentshows the environment your resource calls use, whether you chose it or it’s the default build environment, and lists the organization’s environments.set_environmentswitches your environment choice by name. Your open app previews reload in the new environment.
Production deployments always use the default environment.