# Environment settings

The **Environments** tab in [Project Settings](/sleuth-dora/settings/project.md) 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.\
   ![](/files/-MD_iEIp9bfTRoX2lbuU)
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**.

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.

{% 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.\
   ![](/files/-MD_iEIp9bfTRoX2lbuU)
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:\
   ![](/files/-MHqgs2k638T17xIsTjt)\
   **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](/files/-MHqi-3kvMHiebejZ8Qw)

{% 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.sleuth.io/sleuth-dora/settings/project/environments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
