# Spaceboy > Spaceboy is the API for agents to build and host full-stack apps. A project is a private repository with a ready full-stack starter (Postgres + GraphQL API on Cloud Functions, sign-in, React web app, iOS and Android apps); the `spaceboy` CLI (`npx -y @spaceboy-ai/cli`) sets it up (`start`, or `init` for an existing project), ships your committed code (`push`), deploys it, and reads its database, logs and secrets, with `--json` output and meaningful exit codes. - Install first: `curl -fsSL https://spaceboy.ai/install.sh | bash` (without a terminal it never prompts; it installs and prints the next commands), or `npm install -g @spaceboy-ai/cli`. - Then `spaceboy start --name --json` logs in (exit 3 with the approval link when a person must approve; run it again after), creates a full-stack project and downloads it into ./. Then write the code, commit, `spaceboy push` → URL. The Quickstart for agents has every step. Every page is plain markdown; append `.md` to any https://spaceboy.ai/docs/agents/... URL. - A person must approve the first login in a browser, and pay for publishing. Building and one development environment are free. $10 a month per published project. Need more room? Add capacity for $10 a month. Everything else runs from the CLI. ## Start here - [Quickstart for agents](https://spaceboy.ai/docs/agents/quickstart.md): From nothing to a deployed app with sign-in and a database, command by command, with expected output and what to do when a step fails. ## Task guides - [Deploys](https://spaceboy.ai/docs/agents/deploys.md): `spaceboy deploy` to development and production, statuses and stages, the frontend-only fast path, what blocks a deploy. - [Secrets and settings](https://spaceboy.ai/docs/agents/secrets-and-settings.md): `spaceboy secrets set|list|unset|doctor`, one value per environment, fingerprints, reserved names, when a new value takes effect, platform-provided settings. - [Database and migrations](https://spaceboy.ai/docs/agents/database-and-migrations.md): Per-environment Postgres, SQL migrations and how deploys apply them, `spaceboy db tables|migrations|query`. - [Sign-in, users and organizations in your app](https://spaceboy.ai/docs/agents/sign-in-and-users.md): Sign-in methods, how server code reads the signed-in user and organization, verifying the deployed app behind sign-in with test personas and `spaceboy app verify`. - [Functions and public HTTP endpoints](https://spaceboy.ai/docs/agents/functions-and-http-endpoints.md): Adding an HTTP function or webhook, naming rules, finding its public URL, jobs and Pub/Sub. - [Claude through the AI gateway](https://spaceboy.ai/docs/agents/claude.md): Call Claude models from a deployed app with the Anthropic SDK and the environment's `AI_GATEWAY_URL` / `AI_GATEWAY_TOKEN`: models, list prices, what is forwarded, per-call cost. - [Logs](https://spaceboy.ai/docs/agents/logs.md): `spaceboy logs`: runtime warnings and errors of a deployed environment, and what is not available. - [Custom domains](https://spaceboy.ai/docs/agents/domains.md): `spaceboy domains add|check|list|remove`: serve an environment or one function from your own domain. - [iOS and Android builds](https://spaceboy.ai/docs/agents/ios-builds.md): TestFlight and signed-APK builds with `spaceboy build`, connecting the Apple account and push keys with `spaceboy integrations`, statuses. - [App Store and Google Play](https://spaceboy.ai/docs/agents/app-stores.md): The `store/` folder (listing text, screenshots, review details), `spaceboy store check`, and what only a person can do in App Store Connect and Play Console. - [Bring your own code](https://spaceboy.ai/docs/agents/bring-your-own-code.md): The ways code reaches a project, what a starter-shaped tree must contain, `spaceboy projects adopt` step by step. ## CLI reference - [CLI reference](https://spaceboy.ai/docs/agents/cli-reference.md): Every command and option, the `--json` contract, exit codes, which commands read the folder's `init` link. - [Authentication for agents and CI](https://spaceboy.ai/docs/agents/authentication.md): Browser-approved `spaceboy login`, API keys, SPACEBOY_* environment variables, calling the GraphQL API directly. ## Concepts - [Projects and environments](https://spaceboy.ai/docs/agents/projects-and-environments.md): Organizations, projects, development and production environments, deleting. - [Preflight](https://spaceboy.ai/docs/agents/preflight.md): What every push is checked for before anything is merged: what blocks, what warns, how to acknowledge. - [What a project provisions](https://spaceboy.ai/docs/agents/what-a-project-provisions.md): Starters, `repobot.deploy.json`, what the first deploy creates, and the price. - [Pricing and billing](https://spaceboy.ai/docs/agents/pricing-and-billing.md): What is free, the one checkout a person completes, `--confirm-charge`, more room, failed payments, the error codes. ## Tools - [CLI README](https://unpkg.com/@spaceboy-ai/cli/README.md): Every command in one table, the --json and exit-code contract, configuration. - [All agent pages in one file](https://spaceboy.ai/llms-full.txt): every page above, concatenated. ## Optional - [Single sign-on (SAML)](https://spaceboy.ai/docs/sso.md): Let your team sign in through your identity provider — and enforce it. - [Set up SSO with Okta](https://spaceboy.ai/docs/sso-okta.md): Create a SAML app in Okta and connect it to Spaceboy. - [Set up SSO with Microsoft Entra ID](https://spaceboy.ai/docs/sso-entra.md): Create an enterprise application in Entra ID and connect it to Spaceboy. - [Set up SSO with Google Workspace](https://spaceboy.ai/docs/sso-google-workspace.md): Create a custom SAML app in Google Workspace and connect it to Spaceboy. - [GitHub connection](https://spaceboy.ai/docs/integrations-github.md): Create project repositories in your own GitHub organization. - [Apple connection](https://spaceboy.ai/docs/integrations-apple.md): Ship iOS builds to TestFlight through App Store Connect. - [Audit log](https://spaceboy.ai/docs/audit-log.md): A complete record of what happens in your organization.