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

# Environments

> Use a separate Development environment to build and test without touching your real users.

Every Aiveth organization is a **Production** environment. Your real people sign in there, and your live apps and keys belong to it.

An Owner can also turn on one **Development** environment. It is a separate copy for your developers, with its own test users, apps, keys, settings and activity log. Nothing in Development reaches your real users, and nothing from one environment works in the other.

## What is different in Development

| | Production | Development |
| - | - | - |
| People | Your real people | Test users, up to 100 |
| Plan features | Your plan's features | Every feature on |
| Billing and usage | Counted | Free, never counted |
| App return addresses | https only | https, or `http://localhost` |
| App client IDs | Start with `okc_live_` | Start with `okc_test_` |
| API keys | `aiveth_sk_live_...` | `aiveth_sk_test_...` |
| Emails | Sent as usual | Subject starts with `[Test]` |
| Verified domains, discovery sign-in, organization switcher | Available | Not available |

The prefixes let you, and secret scanners, tell a test credential from a live one at a glance.

Development's short name is your organization's short name followed by `-dev`. Its test users sign in with that short name.

> [!TIP]
>
> Aiveth sends no email at all to a Development address that contains `+aiveth_test`, such as `asha+aiveth_test@acme.com`. Use these addresses for test users you never need to receive mail.

## Turn on Development

**1. Open Security**

In the console, open **Security** and find **Development environment**.

**2. Turn it on**

Select **Turn on**. Only an Owner can turn it on or off.

**3. Switch the console**

A **Production** / **Development** switch appears at the top of the console. Choose **Development** to work there. A strip under the top bar reminds you that you are in Development.

## Who can work in Development

You sign in to the console once, in Production. When you switch to Development, you act there with your Production permissions. Only people who can manage apps (`apps:manage`) or security (`security:manage`) can switch.

Your own account pages, such as your password and two-step settings, always belong to Production.

## Turn off Development

In **Security** → **Development environment**, select **Turn off** and confirm. Its test users are signed out and cannot sign in. Its apps, keys and settings are kept, and come back when you turn it on again.

## Moving to production

Development and Production do not share apps or keys. When you are ready to ship:

1. Register the app again in Production, with https return addresses.
2. Make new API keys in Production with the powers your servers need.
3. Swap the client ID, client secret and keys in your production configuration. Keep the test ones in your development configuration only.

## Related

* [Login with Aiveth](https://docs.aiveth.com/apps/login-with-aiveth.md)
* [Authentication](https://docs.aiveth.com/api-reference/authentication.md)


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