> ## Documentation Index
> Fetch the complete documentation index at: https://artie.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Environments

> Use environments to isolate pipelines, connectors, and other resources across dev, staging, and production.

Environments let you group and isolate Artie resources so that objects in one environment cannot interact with objects in another. For example, a connector created in a `staging` environment cannot be used by a pipeline running in `production`.

The following resource types are scoped to an environment:

* Pipelines
* Source readers
* Connectors
* SSH tunnels
* API keys

## Create an environment

1. Go to [Settings > Environments](https://app.artie.com/settings?tab=environments).
2. Click **New environment**.
3. Enter a **Name** (e.g. `Production`) and an optional **Description**.
4. Click **Save**.

<Note>
  Only account admins can create, edit, or delete environments.
</Note>

## Use an environment

When creating a new pipeline or API key, you are prompted to select an environment. The resource is then scoped to that environment for its entire lifetime.

For pipelines, this means the pipeline can only connect to connectors, SSH tunnels, and source readers that belong to the same environment.

## Delete an environment

An environment can only be deleted when it contains no resources. To delete an environment:

1. Remove or reassign all pipelines, connectors, SSH tunnels, source readers, and API keys that belong to it.
2. Go to [Settings > Environments](https://app.artie.com/settings?tab=environments) and click the environment name.
3. Click **Edit environment**, then **Delete environment**.
