# Baseten Sandboxes

Create the team API key that lets Sandcovery run Baseten Sandboxes in your own Baseten workspace.

Sandcovery runs Baseten Sandboxes in your Baseten workspace with a team API key, which it trades for Baseten's 2-hour sandbox access token before each run.

- **Team API key**: create it under **Organization settings** and [**API keys**](https://app.baseten.co/settings/api_keys) as a **Team** key with the **Manage and call all team models** permission, the narrowest one that can create a sandbox access token. An inference-only or metrics-only key can't. Choose **Never** for its expiration, or replace it before it expires.
- The key's team owns the sandboxes, so pick the team whose usage should carry them. A personal API key also works, but Baseten revokes one after 30 days without a request and refuses sandbox calls from a key that reaches more than one team.
