Quickstart
Provision your first sandbox in under 2 minutes
This guide takes you from zero to a running sandbox using the Modbox SDK or REST API.
1. Get your API token
Go to the Modbox dashboard → Settings → API Tokens and create a new token.
Keep your token safe. It grants full access to your workspaces and sandboxes.
2. Install the SDK
3. Provision a sandbox
4. Interact with the sandbox
Once status is running, the sandbox_url field contains a live HTTPS endpoint. What you can do depends on the image — a browser sandbox exposes CDP, a code execution sandbox exposes an HTTP API, etc.
5. Destroy the sandbox
Always clean up after you’re done, or set a TTL so it’s automatic.