Guide

From v0 to production. What to check before customers arrive.

Publishing a v0 app takes one button; being ready for customers takes a few checks behind the screens. Set every key for Production in Vercel, lock each customer’s data to that customer, point sign-in at your real address, and know how to roll back.

Published 7 min read

A v0 app on its way to production: keys set for Production, data locked per customer, sign-in on the real domain, a rollback ready, errors watched.

In short

  1. Publish in v0 creates a Vercel project and a production deployment at a stable address. That part takes a minute.
  2. Ready for customers means the parts behind the screens: keys set for Production, each customer’s data locked to them, and sign-in that returns people to your real domain.
  3. Changes should reach a preview before production, and you should know where the Instant Rollback button is before you need it.
  4. Once it’s live, turn on what tells you it broke: Vercel’s errors and speed data, logs that last, and spending alerts.

01The short answer

One button to publish, a few checks to be ready

In v0 you select Publish, confirm the Vercel project name, choose who can see the app, pick a domain and start the production deployment1. Every Vercel project has a stable production address, and later publishes update the app at that address1.

That gets the screens online. What makes it ready for customers sits behind them: the keys the app needs, which data each customer can see, where sign-in emails send people, a safe way to change it and a way to undo a bad change. Vercel’s own production checklist covers the same ground for any app it hosts5.

02How a v0 app ships

What happens when you press Publish

  • Without GitHub, v0 deploys the chat’s current code straight to the connected Vercel project2.
  • With GitHub, v0 creates or reuses the chat’s pull request, merges it into the base branch and waits for the production deployment. v0 never pushes directly to main2.
  • Previews are built from working branches. Each has its own address and leaves the production address alone1.
  • The code is Next.js, React and TypeScript with Tailwind CSS and shadcn/ui2. Data comes from what you connect: Supabase, Neon, Upstash or Blob3.

v0 says its previews run your full application exactly as it would in production2. Use that: before you publish, click through every page a customer touches in the preview, on a phone as well as a laptop, signed in and signed out.

If you haven’t connected GitHub, do it first: open the Project menu, then Settings, then GitHub2. Every change becomes a pull request you can read before it goes live, and a commit you can find later.

03Before customers arrive

The checks, step by step

1. Every key set for Production

Open the Project menu, then Settings, then Environment Variables2. In Vercel each variable applies to Production, Preview or Development, and a change only reaches new deployments: after editing one, redeploy4. A key that exists only for Preview is the classic “works in preview, breaks in production”4.

Anything starting with NEXT_PUBLIC_ is built into the code that runs in the visitor’s browser34, so never put a secret there. Mark real secrets as the Secret type, which can’t be read back after saving4.

2. Each customer sees only their own data

If the app uses Supabase, row level security decides who can read and change each row, and Supabase says to enable it on every table in an exposed schema6. Then test it the way a customer would: make two accounts, add something private as the first, sign in as the second and try to find it.

3. Sign-in that comes back to your site

With Supabase sign-in, open Auth, then URL Configuration. The Site URL starts as http://localhost:3000; change it to your production address, or confirmation and password emails send customers to a page that doesn’t exist7. Add your preview addresses to Redirect URLs with a wildcard if you test sign-in on previews, but use the exact path for production7.

4. Your own domain

Domains live under Project menu, Settings, Domains; a domain has to be verified in Vercel before you can choose it1. Once it’s live, use it everywhere: in sign-in settings, emails and payment callbacks.

5. Who can see what isn’t live

Publish asks who can access the app1. Vercel’s checklist also recommends Deployment Protection, so previews and old deployments aren’t open to anyone who finds the address5.

6. A way back

On the project’s overview in Vercel, the production deployment tile has Instant Rollback, which points your domains back to an earlier production deployment at once8. On the Hobby plan you can go back one deployment; on Pro, to any deployment that was in production before8. Two things to know: environment variable changes aren’t rolled back, and after a rollback new pushes stop going live until you promote a deployment again with Manage8.

04Once it’s live

Know when it breaks before customers tell you

Publishing is one moment; running it is every day after. These are the settings in Vercel worth turning on in the first week5.

  • Errors: Vercel Observability Plus, on Pro and Enterprise plans, is where you investigate errors and watch traffic5.
  • Speed: Speed Insights gives real visitors’ load times and Core Web Vitals5.
  • Logs that last: Log Drains persist your deployments’ logs somewhere you keep them5.
  • The database next door: run your Vercel Functions in the same region as your database, so each query has a short trip5.
  • Spending: Spend Management sends alerts when usage changes5, so a busy day or a loop in the code doesn’t become a surprise bill.
  • Abuse: Vercel’s firewall and rate limiting help stop abuse of pages like sign-up and checkout5.

05The short list

Before every publish

  • The change went to a preview first, and you clicked through it.
  • New keys are set for Production, and nothing secret starts with NEXT_PUBLIC_.
  • Two test accounts still can’t see each other’s data.
  • Sign-up, sign-in and the password email work on your real domain.
  • You know which deployment you’d roll back to.
  • Someone will see the errors tonight if it breaks.

For everything a live app needs beyond launch day, read our guide You built your app with AI. Who looks after it now?

06When to get help

When it’s time to get help

If the screens are done but the parts behind them aren’t, or you’d rather not be the one watching errors at night, that’s our job. We finish the back end, lock down the data, set up previews and rollbacks, and look after the app every day with someone on call 24/7, while you keep designing in v0. See our page for v0 apps, or start with a security check.

Questions people ask

Is a v0 app production ready when it publishes?

The screens are. Whether the app is ready depends on what’s behind them: the keys, the data rules, sign-in and payments you connect, and whether anyone is watching it.

Why does my v0 app work in preview but not in production?

Usually a key set for Preview but not Production, or a change made without redeploying. Environment variable changes only reach new deployments4.

Do I need GitHub for a v0 app?

It isn’t required, but it’s the safer way to ship: each change becomes a pull request, and v0 never pushes straight to main2.

How do I undo a bad publish?

Use Instant Rollback on the production deployment tile in Vercel. Afterwards, promote a deployment with Manage so new changes go live again8.

Can I move a v0 app off Vercel?

Yes. v0 lets you export the code and deploy it elsewhere2, though publishing from v0 itself goes to Vercel1.