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

# Environments

> Separate production and development credentials inside one account.

Every account has two system environments, **Production** and **Development**, and can add more (for example *QA Ecuador*) in **Settings → Environments**.

Each environment has a **name** and a **slug**. The slug is created from the name the first time (`QA Ecuador` → `qa-ecuador`), is unique inside the account and never changes, even if you rename the environment.

> [!NOTE]
>
> Today environments apply to OAuth credentials only. Customers, campaigns and the rest of the account data are shared by every environment.

## OAuth credentials

OAuth clients and OAuth apps belong to one environment. Every token they issue carries that environment, so an integration never chooses it per request: create one client per environment.

The dashboard lists only the credentials of the environment selected in the navbar.

## Switching environments

Use the environment selector next to the account selector in the navbar. The choice is remembered per browser.

## Links to an environment

Add `?env=` to any dashboard URL to open it in a given environment. It accepts the environment slug or its id:

```text theme={null}
https://app.masivo.ai/settings/oauth/clients?env=development
https://app.masivo.ai/settings/oauth/clients?env=production
```

The dashboard switches to that environment and removes `?env=` from the address bar, so later navigation keeps the environment you chose. An `env` that does not exist in the current account is ignored.

To open a link on a specific account as well, go through the account switch link and put `?env=` inside `next`:

```text theme={null}
https://app.masivo.ai/api/cookies/account/switch?account_id=ACCOUNT_UUID&next=%2Fsettings%2Foauth%2Fclients%3Fenv%3Ddevelopment
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.