# Nightona

Give Sandcovery your Nightona deployment's API URL, an API key, and the name of a snapshot that runs the size you want.

[Nightona](https://github.com/nightona-co/nightona) is a self-hosted, open source sandbox platform, a community fork of Daytona's last AGPL release, and Sandcovery runs each sandbox on a deployment you host. Sandcovery creates the sandbox from a snapshot you name, runs commands and file transfers through its toolbox, and deletes the sandbox with the Sandcovery sandbox.

- **API URL**: your deployment's https API address, such as `https://nightona.example.com/api`, with no login, query, or fragment. Sandcovery sends your key only to this URL and to the toolbox proxy URL your deployment returns, which must also be https.
- **API key**: a key for an organization that can create and delete sandboxes. Sandcovery sends it as a bearer token.
- **Snapshot**: a snapshot on your deployment, whose CPU and memory fix the size of every sandbox. Sandcovery lists them once you enter the key.

| Option | Support |
| --- | --- |
| Size | `1x2`, `2x4`, `4x8`, and `8x16`, each only where the snapshot's CPU and memory equal it |
| Disk, image, and region | Whatever the snapshot and your deployment set |
| Environment | Yes |
| Egress | `allow_all`, and `deny_all` through `networkBlockAll` |
| Ports | Signed preview URLs, which need your deployment's proxy domain |
| Lifetime | Until the sandbox's TTL |
| Pause and resume | No |

Snapshots, custom images, idle timeouts, disk sizes, egress allowlists, region choice, and GPUs are not available on this provider. A create that asks for one, or for a size the snapshot does not run, routes to another provider.

A sandbox that ends in an error state, or does not start in time, is deleted and the create fails, so Sandcovery tries the next provider.
