Shipping guide

How to deploy a Bolt.new app to production (and what will break)

Updated June 2026 · 7 min read

Bolt.new runs your app in a WebContainer — a browser-based sandbox that behaves just enough like a real server to be convincing. Production is a different planet. Here's the path from "works in Bolt" to "works at a URL you can put on a business card," including the parts that reliably go wrong.

Step 1: Get it out of Bolt

Export to GitHub (or download the zip and push it yourself). Before anything else, run it locally: npm install, then npm run dev. If it doesn't run on your machine, it won't run on a server — fix local first. The usual first failure is missing environment variables; search the code for process.env and import.meta.env and build your .env file from what you find.

Step 2: Know which kind of app you have

This determines where you can host it:

Step 3: The backend you don't actually have

The classic Bolt trap: inside the WebContainer, your app may have been "persisting" data to memory or local storage. It looked like a database. It wasn't. Refresh-proof in the preview is not the same as persistent in production. If your app needs real data, you need a real database (Supabase, Neon, Convex) and real API routes in front of it. Check what you actually have before you deploy — features built on sandbox persistence will quietly lose everyone's data.

Step 4: The security pass nobody asked the AI for

Before sharing the URL anywhere public, check these four things. They take an hour and they're the difference between a launch and an incident:

Step 5: Deploy, then verify like a user

After the first deploy, don't just look at the homepage. Sign up as a brand-new user in an incognito window, do the core action of your app, refresh, and check the data survived. Most "deployed but broken" reports we see would have been caught by five minutes of pretending to be a customer.


Related reading: fixing a broken Lovable export covers the same disease in a different tool, and what it costs to have this done for you if the checklist above is more weekend than you wanted to spend.

Bay door's open

Want it deployed by people who do this weekly?

Link your repo and we'll handle the hosting, env, database, and security pass — and hand you back a production URL. Fixed quote within 48 hours.

Get your free analysis →