Documentation
Build, run and ship with Codexa.
How Codexa works, from your first prompt to a deployed application. Everything here describes the product as it ships today; roadmap items are marked as such.
From prompt to deploy
- 01 — PromptDescribe what you wantCreate an account and a workspace, then write the first prompt. The agent plans before it edits files.Getting started
- 02 — PreviewRun it in a sandboxEvery project runs in an isolated sandbox with a live preview, logs and viewport controls.Quickstart
- 03 — DeployShip and roll backPublish to Codexa hosting with version history, or connect a Vercel token. Roll back any time.Deployment
The workspace these pages describe
Editor guideExplorer, editor, agent panel and preview in one window. The agent lists every tool call; checkpoints and the Publish dialog are one click away.


Call the API
Everything in the workspace is backed by a JSON API. Listing starter templates is public; project, file and deployment calls use your session.
Shell
$ curl "$HOST/api/v1/templates?category=dashboards"200 OK · 1 of 15 shown
{
"templates": [
{
"id": "vite-react-dashboard",
"name": "Analytics dashboard",
"category": "dashboards",
"framework": "vite-react",
"fileCount": 11
}
],
"total": 15
}Start here
Build
- ProjectsProject structure, templates, settings, files, snapshots, activity history and share links.
- EditorThe Monaco-based editor - tabs, explorer, search and replace, diagnostics, diff view, autosave and keyboard shortcuts.
- AI agentHow the Codexa agent plans, edits files with tools, validates in the sandbox, repairs errors, and how every run can be reviewed and reverted.
- DatabasesConnecting PostgreSQL and Supabase to a project, browsing the schema, running SQL safely, and using the connection from generated code.
- AuthenticationAdding authentication to generated applications, and how Codexa's own accounts, sessions and verification work.
- IntegrationsWorkspace-level connections for GitHub, databases, AI providers, payments, email and hosting, how they are stored and tested.
- Environment variablesManaging secrets for previews, builds and deployments; how values are encrypted, masked and injected.
- Mobile appsBuild iOS and Android apps with Expo and React Native, preview them in a phone frame, run them on your phone with Expo Go, and publish the web version.
Ship
- DeploymentDeploying with Codexa hosting and Vercel, which frameworks are supported, build logs, history and rollback.
- Custom domainsPointing your own domain at a Codexa hosting deployment with a CNAME record, and what is planned for verification.
- GitHubConnecting GitHub, importing a repository into a project, and committing and pushing project files back.
Account
- BillingPlans, currencies, usage limits, how limits are enforced, invoices, payment providers and cancellation.
- SecurityHow Codexa isolates project runtimes, protects secrets and sessions, authorizes every request, and what it does not claim.
- TroubleshootingThe error codes Codexa returns (quota_exceeded, ai_not_configured, runner unavailable, confirmation_required, email_taken, invalid_token, rate_limited) and what to do about each.
