# BoxRouter

Create the API key that lets Sandcovery run sandboxes through your own BoxRouter workspace.

For BoxRouter, create an API key under **API Keys** in the [BoxRouter dashboard](https://boxrouter.ai/dashboard) and add it. BoxRouter shows the secret once, so copy it before you leave the page. The default `sandbox:execute` permission reaches every sandbox call, as the [setup guide](https://boxrouter.ai/docs/setup.md#key-permissions) lists.

Sandcovery asks BoxRouter to run each sandbox on a provider key you connected under **Provider Keys**, never on BoxRouter Credits, so connect one first. BoxRouter adds no fee there and the provider bills you directly. BoxRouter picks the provider, so a size, network policy, or port that no connected provider can meet fails the create with `no_eligible_route`. Sandcovery reads and writes files at absolute paths and starts commands in `/workspace`, the standard image's writable folder.
