# Environment settings

The **Environments** tab in [Project Settings](https://help.sleuth.io/settings/project) is where configuration changes are made to the environments contained in your project.

## Creating a new environment

1. Select the project you wish to add new environments to in the Project selector.\
   ![](https://2832637360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1bR_-Od0islbiOl4G0%2Fuploads%2Fgit-blob-aa84ea02fa1d152aeeb285287d9ed4a6d3a566b6%2Fproject_selector.png?alt=media)
2. In the sidebar, click **Project Settings**.
3. Click the **Environments** tab.
4. Click **Add environment**.
5. Give your new environment a name and, optionally, a description, then press **Save**.

{% hint style="info" %}
You can set any environment as the default environment by clicking **edit**, then selecting **Set as default**. In the Project view, the default environment is displayed first.
{% endhint %}

{% hint style="info" %}
A project will always contain at least one environment, and can contain as many environments as necessary.
{% endhint %}

## Editing environments

1. Select the project whose environments you wish to edit in the Project selector.\
   ![](https://2832637360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1bR_-Od0islbiOl4G0%2Fuploads%2Fgit-blob-aa84ea02fa1d152aeeb285287d9ed4a6d3a566b6%2Fproject_selector.png?alt=media)
2. In the sidebar, click **Project Settings**.
3. Click the **Environments** tab.
4. Find the environment you wish to modify, then click the *edit* dropdown.
5. Select one of the following options:\
   ![](https://2832637360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1bR_-Od0islbiOl4G0%2Fuploads%2Fgit-blob-591ad50345d095eaa5784b78ee7fc30738132582%2Fenv-info-editing.png?alt=media)\
   **Edit***:* Change the environment name, description, and the color of the lozenge in the environment picker.\
   **Set as default**: This sets the selected environment as the default environment. All new environments created to obtain the settings of the default environment. This option is not available in the default environment's *edit* dropdown.\
   **Delete**: Removes the selected environment from your project. Any mappings that you made revert to the default environment.

![Changing the environment lozenge color](https://2832637360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1bR_-Od0islbiOl4G0%2Fuploads%2Fgit-blob-81af234f858c767d1d3473339ed545aa4a9fd9ef%2Fcolor-picker-envs.gif?alt=media)

{% hint style="warning" %}
You cannot delete the default environment. To delete a default environment, choose another environment as the default first, then delete the environment.
{% endhint %}
