Agent UI - Knowledge Base

Agent UI - Knowledge Base

Environments

Manage Development and Production Environments Safely

This guide explains how to safely work with environments by separating development and production. By locking your production environment and making changes in a dedicated development environment, you can test, iterate, and generate code without impacting live users. Once changes are verified, you can confidently promote them to production in a controlled and reversible way.This workflow helps prevent accidental changes, reduces risk, and ensures a smooth release process for your application.

Last updated on 03 Apr, 2026

Step by step guide

Step 1: Access Dashboard Settings

Open your app’s Dashboard and navigate to Settings.
You are now viewing the dashboard configuration options.

Snapshot

Step 2: Navigate to Settings

From the dashboard, open the Settings menu to manage environments and access controls.

Snapshot

Step 3: Lock Production Environment

Once locked:

  • The production environment cannot be modified

  • All changes must be made in a separate environment

This ensures your live users are protected from unintended changes.


This prevents modifications to the production environment.
Snapshot

Step 4: Go to Production

Confirm that you are currently viewing the Production environment and that it is locked for safety.

Snapshot

Create a New Development Environment

Click on Production to create a new environment.

  • A new Development environment (e.g. Dev) is created

  • This environment has its own domain

  • Changes made here will not affect production

This environment will have its own domain.

Step 1: Click on Create Environment

Snapshot

Step 2: Enter your new Environment name (e.g. Dev)

Snapshot

Step 3: Click Create

Snapshot

Step 4: Modify Development Environment

Make your changes in the development environment.

For example:

  • Add a banner indicating it is a Development environment

  • Test UI, logic, or configuration updates

All changes remain isolated to this environment.

Step 5: Generate Code

The AI generates code only for the current environment.

  • Production remains unchanged

  • Development updates are applied safely

  • You can iterate freely without risk

Snapshot

How to push to Production

Step 1: Open Environments

Go back to the Dashboard and click Environments.

SnapshotSnapshot

Step 2: Click Promote on the Environment to Promote

Choose the development environment that contains the changes you want to release.

Snapshot

Step 2: Click Promote

Click Promote to push the selected environment to production.

This replaces the production version with your tested changes.

Snapshot

Step 3: Verify Changes in Production

Switch back to production to see the new changes.

Your users now have access to the updated production environment.

Click on the environment dropdown

Snapshot

Select the production environment

Snapshot

Was this page helpful?
Previous

How to Delete an Environment.

Next

AgentUI