# Together Code Sandbox

Get the API key and snapshot that let Sandcovery run Together Code Sandbox in your own Together organization.

For Together Code Sandbox, your Together organization needs the sandbox API turned on, which Together's sales team does on request, as its [Code Sandbox docs](https://docs.together.ai/docs/together-code-sandbox) say. Together creates API keys only after an organization buys its first credits.

Add these two fields:

- **API key**: a Together API key from that organization.
- **Snapshot**: the snapshot each sandbox starts from, which Sandcovery lists by alias, such as `my-python@v1`, or by ID for a snapshot with no alias. Create one with `together-sandbox snapshots create`, as Together's [CLI docs](https://github.com/togethercomputer/together-sandbox/blob/main/docs/cli.md) show. Together has no public base snapshot.

Sandcovery runs each sandbox at 1, 2, 4, 8, or 16 vCPU with 1, 2, or 4 GiB per vCPU, up to Together's 32 GB limit, and ends it at your TTL through Together's own `ttl`. A create that asks for a GPU, an image, a snapshot, a sandbox-wide environment, a disk size, an idle timeout, a region, or egress other than `allow_all` fails as `unsupported`, as do pause, resume, and snapshot. Sandcovery wrote this adapter from Together's public docs and has not run it against Together's service.
