Back to Tooljet

Multi-Environment

docs/versioned_docs/version-2.7.0/release-management/multi-env.md

3.20.154-lts2.1 KB
Original Source
<div className='badge badge--primary heading-badge'>Available on: Enterprise Edition</div>

ToolJet's multi-environment helps in streamlining workflows, thereby minimizing the chances of errors, and enables effective application management. Using multi-environment ensures that your ToolJet application is rigorously tested before it is made available to users.

<div style={{textAlign: 'center'}}> </div>

Environments

ToolJet provides three default environments:

  • Production
  • Development
  • Staging

:::info The default environments cannot be removed or renamed. :::

Configuring connections for environments

To configure connection settings for different environments, follow these steps:

  1. Go to the Global Datasource page.
  2. Click on the Add new datasource button.
  3. Choose a datasource. In the connection modal, you'll find three tabs: Production, Staging, and Development.
  4. Switch to each tab and enter the appropriate credentials for connecting to the respective database. Remember to save after entering credentials on each tab.
<div style={{textAlign: 'center'}}> </div>

Switching environments

To switch between environments, follow these steps:

  1. Click on the Environment Manager located on the top bar of the app builder.
  2. The dropdown menu will open, allowing you to select an environment.
<div style={{textAlign: 'center'}}> </div>

ToolJet's app builder remembers your last editing state. When you reopen an app, it resumes from where you left off, ensuring a seamless experience. For instance, if you edited an app in the staging environment, it will open in the staging environment when you return.

:::info The default environment for released apps is Production. :::