Install the CLI
- Sign in through your browser with GitHub, Google, or a code sent to your email. The CLI asks which one;
boat onboard --googleandboat onboard --email you@example.comanswer it up front. - Say what the sandboxes are for: your own work, or a platform of yours driven by third-party users. The second is the default, and it marks your environment safe for third parties so none of your credentials reach those sandboxes. You can change it later.
- Choose a Boat plan in Stripe Checkout. It includes a free-of-charge 7-day trial.
- Return to the terminal while the CLI waits for billing to become active.
Reinstalling, or a second machine
Your plan, environment, sandboxes and settings live on your account, not on the machine. Reinstalling Boat, or installing it on a new computer, only needs that machine signed in:boat onboard picks up the account you already have: it skips every step that account has finished, and does not open Stripe Checkout when your plan is active.
Use the same sign-in method as before. A method that has never been connected to your account opens a separate one, with its own empty plan, which is the usual reason a reinstall looks like it is asking you to subscribe again. See Sign-in methods.
Sign-in methods
GitHub, Google and an emailed 6-digit code are three ways in, on both the CLI and the dashboard. None of them is the “real” one: pick whichever you like, and you can add the others later.Signing in with a method that is not yet connected creates a separate account, even when the email address matches. To use a second method on an account you already have, sign in the way you always do and add the connection from the Account tab. Moving a connection between two existing accounts is a merge, which is support-side only.
Create your first sandbox
Create a one-hour Boat from whichever surface fits your workflow:Programmatic use
Building Boat into a product, CI system, hosted worker, or agent platform? Use the HTTP API or an SDK to create or resume a sandbox, prompt it, observe events, return a desktop or app preview URL, then stop, resume, fork, or delete the sandbox according to your product lifecycle.API guide
Learn auth, response envelopes, errors, lifecycle loops, agent prompts, desktop links, and OpenAPI reference usage.
SDKs
Typed Python and TypeScript/JavaScript clients for the Boat API.
OpenAPI reference
Explore generated endpoint docs for creating, prompting, observing, stopping, resuming, and forking sandboxes.
Use in Code
Script the CLI with JSON output when a shell integration is the fastest path.
Agent sign-in
Let an agent register itself, claim a human, and start the 7-day free trial via auth.md.
.env files, and other runtime secrets, configure Dashboard > Environment before running setup scripts in a sandbox.
For a long uninterrupted workflow, disable auto-stop when creating the Sandbox:
Four ways to drive Boat
Everything below is the same platform behind four front doors. Code examples across these docs come as CLI, curl, TypeScript and Python tabs; pick your tab once and the rest of the page follows it.
They are not identical, and the differences are deliberate:
Creating, rotating and revoking API keys and turning on zero data retention need a browser sign-in on either the CLI or the dashboard, and are refused to an API key on purpose.
Next steps
Machine Capabilities
See the runtimes, tools, desktop, and machine specs included in each sandbox.
Environments
Choose the repositories, secrets, and credentials every new Sandbox starts with.
Setup & Scripts
Run setup scripts, or drive setup from your own code.
Long-Running Tasks
Keep a sandbox running longer and restart runtime processes after resume or fork.
SSH Access
Connect to a sandbox over SSH from your terminal or external tools.
Desktop Streaming
Open the sandbox desktop, and let the sandbox’s agents drive it with the
computer tools.Hosting
Expose a service running inside a sandbox on a public HTTPS URL.
SDKs
Use the typed Python and TypeScript/JavaScript clients for the Boat API.