Deploy guide
Frontend, API and database.
How do they go live together?
A full-stack app built with Claude Code or Codex, with all three parts in one place. Say one sentence in the chat to deploy; no Dockerfile to write.
Short answer
Three parts, and how each goes up
- Frontend (React, Vue and the like)
- Built as a static site on the CDN
- API (JavaScript, Python, Go)
- Built from source as a web service, no Dockerfile
- Database
- PostgreSQL in one click; the address is in DATABASE_URL
Compared
Three places, or one
The more places, the more wiring you do yourself.
| What you handle | Three separate services | One Agent Lab project |
|---|---|---|
| Deploying | Once on each platform | One sentence in your AI tool |
| Environment variables | Set on each side and kept in step | The database address is filled in |
| Before going live | Checked separately | A preview URL for every version, and a scan for leaked keys |
| Cost | Three bills | One plan: a fixed price with usage credit |
| Backend elsewhere | Already separate | Host only the frontend; it keeps calling out |
Details in the docs: deploy from an AI tool; deploy overview.
Is it for you
Check both sides first
A good fit
- Claude Code, Codex or Cursor wrote the app, and nobody runs operations
- The API is JavaScript, Python or Go, and the database is PostgreSQL
- You want a preview URL to check before it goes live
Worth knowing
- On Free, a web service sleeps after 15 idle minutes; always-on starts at Pro
- Other languages or special system packages need your own Dockerfile
- Custom domains come with Pro and above
FAQ
Deploying a full-stack app
How do I deploy a full-stack app built with Claude Code?
Add Agent Lab's MCP server to Claude Code, sign in once in the browser, and say "deploy this". Claude Code uploads the project folder; the frontend is built as a static site and the API as a web service, and you get a preview URL. Claude Code deploy steps →
How does the app reach its database?
Add PostgreSQL to the project. Its address is put in the DATABASE_URL environment variable, and the code reads that to connect.
Do I need a Dockerfile?
No. Static sites, and web services in JavaScript, Python or Go, are built straight from source. Bring your own Dockerfile for anything else.
Is the Free plan enough?
Free includes one size-S app that sleeps when idle, one size-S database and three static sites: enough to put one full-stack app up and try it. Always-on starts at Pro, US$29 a month before tax.
Can the frontend and the API have different addresses?
Yes. Each is a service of the project with its own address; the frontend points at the API's address through an environment variable.
Open your AI tool, add the MCP server, and say "deploy this".