Deploy a vibe-coded app
An app an AI wrote still needs somewhere to run, a public address, and usually a database and a domain. The shortest path is to build it where it will run, so there is nothing to deploy.
Updated November 23, 2026
Most vibe-coded projects stall in the same place: the app works on the machine that wrote it and nowhere else. Deploying it means choosing a host, moving the code, setting environment variables, provisioning a database and pointing a domain, each a new tool to learn.
Build it where it runs
The shortest path skips the move. In an EnvHaven workspace the agent that writes the app runs it on the same machine, and that machine already has a public address:
- Choose an agent from the workspace’s Launch menu and ask it for the app: “Build a waitlist page with a Postgres-backed signup form; serve it on port 3000.”
- The agent installs what it needs and starts the server on
0.0.0.0:3000, a port it already knows from the AGENTS.md the workspace writes to tell agents how the machine works. - The app is live at
https://preview-<workspace>.envhaven.appwith HTTPS, so you can open it on your phone and send the link. - When it is ready for real visitors, add your domain on the dashboard’s Domains page and point a CNAME at
domains.envhaven.app. HTTPS is automatic, and the domain serves the same app as the preview address.
Nothing was deployed, because nothing moved. The app keeps running after you close the tab, since the workspace never sleeps, and the agent is still there for the next change.
A few details help along the way. Secrets such as a database password belong in the workspace’s Vars pane, which keeps them write-only and exports them into new shells. The preview address serves one app at a time, on port 3000 unless you point it at another port between 1024 and 65535, and the agent can repoint it itself. Plus and Pro workspaces include Docker, which helps when the app wants a database or several services beside it.
Other ways to host it
| Shape | Good for | Watch for |
|---|---|---|
| An app builder’s built-in hosting | Apps made inside that builder | Moving the app elsewhere later |
| A deploy platform (static sites, serverless, containers) | Front ends and APIs with a standard build | Long-running processes, background jobs, sleeping free tiers |
| A server you manage yourself | Anything, including bots and workers | Setup and upkeep, which a workspace arrives with done |