---
title: "Work in the sandbox"
description: "Learn how to work in a customer's sandbox company, in the console and over the API."
---

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

# Work in the sandbox

Every customer has a live company and a sandbox company. A company holds one customer's invoice data in one
environment. Use the sandbox to try out mappings, test an integration or show the product: nothing in it counts.

## In the console

1. Click the company card at the top of the side menu, under the wordmark, to open the **Live | Sandbox** switch. If the side menu
   is folded to icons, open it first with the button at its top.
2. Choose **Sandbox**. The page reloads.
3. An amber line at the top now says that sandbox data does not count. Everything you see and do applies to the
   sandbox company.
4. Choose **Live** to go back.

The choice lasts until you close the browser or sign out. A new session starts in Live. If the Sandbox button is
disabled, your workspace has no sandbox company you can reach.

If you reach several companies, the same menu lists them above the switch. Choosing one also moves you to that company's area.
Choosing Live or Sandbox afterwards forgets that company, and the area opens on its own company again.

Setup is recorded per company. While the company you are in has not finished setup, every page leads to `/setup`, and
the side menu lists no pages, only the switch and, in your menu at its foot, sign out. Use the switch to go back to a company that finished setup.

Each company has its own frozen mappings, validation policies, DATEV settings and invoices.
A mapping frozen in the sandbox is not available in Live. Freeze it again there when it is ready.

One thing is shared: the seller details, the VAT ID and the establishments. The sandbox shows and saves the same ones
as the live company it was made with, so a change saved in the sandbox changes them in Live too. The company facts are
not shared: each keeps its own.

When the workspace's plan includes the GoBD archive, a sandbox invoice is archived too. It goes to a separate
bucket with no lock, which deletes it after 30 days. It never reaches the locked archive.

## Over the API

The key decides the environment:

| Key starts with | Reaches |
|---|---|
| `cvo_test_` | The sandbox company |
| `cvo_live_` | The live company |

There is no separate sandbox address. The same API serves both.

To get a sandbox key, switch the console to **Sandbox**, open **Settings**, then **Connections**, then **API
keys** (`/settings?tab=keys`), and create one. A key made while you are in the sandbox reaches the sandbox company.

## See also

- [Authentication and workspaces](/start/authentication-and-workspaces)
- [Set up a platform partner](/how-to/workspaces/set-up-a-platform-partner)

Source: https://docs.certinvo.com/how-to/workspaces/work-in-sandbox/index.mdx
