No code changes
React + Vite + TypeScript: the platform detects it and picks the build and start commands.
Deploy a Lovable app · Agent Lab Deploy
Connect GitHub in Lovable and the code syncs to your repository. Link the repository in Agent Lab or upload the zip — no code changes, no Dockerfile. Agent Lab detects the framework, builds it, gives every version a preview URL and checks uploads for leaked keys.
> deploy this Lovable project
sites_createmy-lovable-app
sites_deployframework detected
sites_deploy_statusbuilt · secret scan passed
Live at my-lovable-app--acme.hosting.agentlab.run
Why deploy from Lovable to Agent Lab
React + Vite + TypeScript: the platform detects it and picks the build and start commands.
Every upload is a new version with its own URL. Look first, then go live; switch back in one click.
Uploads are checked for API keys and credentials before they can go live.
Create a database and connect it; the connection is written into the app.
Your options
Scroll the table sideways.
| What you care about | Agent Lab Deploy | Your own server |
|---|---|---|
| Setup | Link the repository or upload the zip | SSH, a runtime, a process manager, a reverse proxy |
| Credentials | Secrets in the console, never in the code | Copied onto the server by hand |
| Preview and rollback | Every version has its own URL; roll back in one click | Write your own scripts |
| Before going live | Uploads checked for leaked keys | Nothing unless you set it up |
| Database | PostgreSQL in one click, connection written into the app | Install and back it up yourself |
| Cost to start | Free plan: US$0, one size-S app (sleeps when idle) | A VPS at roughly US$6–20 a month, plus your time |
Steps
Connect GitHub in Lovable and the code syncs to your repository.
Link the GitHub repository to a project, drop the zip on its Deploy tab, or open the folder in Claude Code and say "deploy this".
The platform builds the version and checks it for leaked keys. Enter any secrets it lists in Settings.
The first version goes live once it builds. Later ones get a preview URL; go live when you're happy.
Setup
A Lovable project is Vite + React and deploys as a static web page on the CDN; routes answer with index.html on reload, so they never 404. If the backend is on Supabase, the data stays there and the page keeps talking to it.
# Agent Lab 偵測到 Vite + React 後執行
# What Agent Lab runs once it detects Vite + React
npm ci
npm run build # vite build → dist/
# dist/ 放上 CDN;每個路由都回 index.html(SPA)VITE_SUPABASE_URL your Supabase project URL, baked in at build time.VITE_SUPABASE_PUBLISHABLE_KEY the public key, meant to ship in the page; never put the service_role key in a VITE_ variable.Read https://app.agentlab.cresclab.com/agent/deploy.md and deploy this project to Agent Lab. Show me the build plan and the environment variables it needs first, tell me where to enter any secrets, and wait for my OK before it goes live.FAQ