Project lifecycle

Develop and test changes with live previews, then create a release and deploy it to staging or production environments.

Projects

A project groups an application’s versioned files, resources and execution history. Developers and business users work on the same project through Code and Studio.

Code

Local development

Studio

Browser workspace

Project

Source

Files, file versions and branches

Resources

Agents, knowledge, uploads and integrations

Delivery

Releases, environments and deployments

Orchestration

Conversations, schedules, webhooks and runs

Branches

A branch lets you change project files independently. Each branch selects file versions. Branches can share unchanged files and use different versions of edited files.

Only the agent file changes in the feature branch:

Project branches

main

  • agents/support.ts

    v7

  • tools/orders.ts

    v3

shorter-replies

  • agents/support.ts

    Changed

    v8

  • tools/orders.ts

    v3

Preview environment

The Preview environment is the project’s default development environment. It runs the selected branch’s files and updates as they change. Test changes in Chat or Preview without creating a release.

Preview environment

main

Live updates

Live preview

shorter-replies

Live updates

Live preview

Releases

A release captures an immutable set of file versions from a branch.

agents/support.ts

v8

tools/orders.ts

v3

Create release

Release 42

Environments

An environment groups configuration, domains and servers used to run the application. Shared servers are the default. Dedicated servers are available as add-ons.

Environment

Configuration

Variables and secrets

Domains

Application addresses

Servers

Shared or dedicated execution

Preview runs branch files with live updates. Staging and production run selected releases. Environment settings are separate from the file versions in a release.

Deployments

A deployment assigns a release to an environment. Deploy the release to staging and verify it, then deploy the same release to production. Each environment has its own deployment and configuration.

Release 42

Deployments

Staging

1. Deploy and verify

Production

2. Deploy the same release

Git and CI/CD

Use Git and CI/CD when changes need your team’s review and automated delivery process:

Code

Changes made in a local Git branch

Studio

Release snapshot pulled into a Git branch

Shared Git delivery

  1. Git review

  2. CI checks

  3. Release and deploy

CI can push reviewed source into the project, create a release and deploy it. Studio changes return to Git through a release snapshot handoff for review.