# orkestr Sandboxes

Create the sandbox-scoped orkestr API token that lets Sandcovery run sandboxes in your own orkestr account.

Sandcovery runs each sandbox as an orkestr sandbox in your orkestr account, through the REST API in [orkestr's API reference](https://orkestr.eu/docs/sandboxes/api-reference). Sandcovery built this support from orkestr's documentation alone, with no orkestr account of its own, so your first sandbox on orkestr is also the first run of this support against orkestr itself.

## What runs

| Option | Support |
| --- | --- |
| Size | `1x1`, `2x4`, and `4x8` |
| Egress | `allow_all` and `deny_all` |
| Lifetime | Until the sandbox's TTL, at most 24 hours |
| Pause and resume | Yes |
| Region | `eu` |
| Environment variables | Set at create |
| Port previews | URLs that need the sandbox's preview token, on a paid tier |

Snapshots, a custom image per create, idle timeouts, disk sizes, GPUs, an egress allowlist, port previews with `deny_all` egress, and output streamed while a command runs are not available on this provider. A streamed command answers its output when it ends. A command runs for at most 3,599 seconds. Files go to `/workspace`, `/tmp`, or `/persist`, the paths orkestr's file API writes. orkestr's free tier runs only `1x1` sandboxes for at most 30 minutes, so add a card in orkestr for the larger sizes and longer lifetimes.

## Make the API token

Turn on sandboxes in the [orkestr Sandboxes console](https://orkestr.eu/sandbox), then create an API token with only the `sandboxes:read` and `sandboxes:write` scopes, so it cannot reach your apps, deployments, or billing.

## Add the credential

Add the API token as the orkestr credential in **Provider Credentials** in the [dashboard](/app/credentials). Delete the token in orkestr when you remove the credential.
