Your v0 prototype looks finished in the preview, but the data is fake, login may break once it's live, and you still need your own domain. These 9 free prompts help you see what's still mock, connect a database one feature at a time, fix login and redirects for production, and publish cleanly on Vercel.
Real data, real login, and your own domain for your v0 prototype: find what's still fake, connect a database one feature at a time, fix login for live, and publish cleanly.
9 prompts in 4 sections. Replace everything in [BRACKETS IN CAPS], then copy and paste into your AI tool.
v0: the prompts are written for Integrations (Project menu ... → Settings → Integrations), Environment Variables for Development, Preview, and Production, the NEXT_PUBLIC_ rule for browser variables, Versions and restore, the first-publish flow, Customize Domain, and Fix with v0 / Fix Build.
Supabase or Neon: the database you connect from v0's integrations. Prompt 2.2 checks Row Level Security if you use Supabase, and Prompt 3.2 covers Supabase Auth's Site URL and Redirect URLs.
Vercel: where v0 publishes. Environment variable changes apply to new deployments, and DNS for your own domain is set up in the Vercel dashboard.
Written for use with v0. Not yet tested against it.
Use this when your v0 app looks done but you're not sure which parts actually save, load, or check anything. It's for a plain list of every fake piece so you know exactly what needs to become real.
Fill in: [WHAT MY APP DOES] (one or two sentences), [WHO USES IT] (e.g. "just me", "anyone who signs up", "my team of 5").
Don't change any code. I want to turn this prototype into a real app, and I need to know what's fake first.
What my app does: [WHAT MY APP DOES]
Who uses it: [WHO USES IT]
Please look through the whole project and make a table with these columns: page or feature, what it shows, where the data comes from now (hard-coded, mock file, local state, browser storage, or a real service), and what it needs to become real (database table, login check, API call, or nothing).
Then tell me:
1. Every form or button that looks like it saves something but doesn't.
2. Every page that should be private but anyone can open.
3. Any fake or placeholder API keys, test URLs, or localhost links in the code.
4. Any data that's stored only in the browser and would be lost or shared by mistake.
Keep it plain. No code yet.
Tips to customize: If the table is long, ask v0 to sort it by "what breaks first when a real user shows up." Keep this table: you'll paste parts of it into the next prompts.
1.2 Plan the Build Order From Prototype to Live
Untested: not yet run against a model.
Use this when you know what's fake and want a safe order to fix it. It's for a short, step-by-step plan where each step is one prompt you can check in the preview before the next.
Fill in: [MY MOCKED VS REAL TABLE] (paste it from Prompt 1.1), [DATABASE I WANT] (e.g. "Supabase", "Neon", "not sure, help me pick"), [DO USERS NEED TO LOG IN?] (yes / no / not sure), [LAUNCH GOAL] (e.g. "share with 10 friends next week", "real launch this month").
Don't write any code yet. Turn this into a step-by-step plan to take my v0 prototype to a live app.
What's mocked vs real: [MY MOCKED VS REAL TABLE]
Database I want: [DATABASE I WANT]
Do users need to log in? [DO USERS NEED TO LOG IN?]
Launch goal: [LAUNCH GOAL]
Plan rules:
1. Keep the order: connect the database, then replace mock data one feature at a time, then add login and private pages, then sort environment variables, then publish, then test the live app.
2. Each step changes one thing and has a clear "done looks like" I can check in the preview.
3. Put anything that creates, changes, or deletes database tables in its own step, and flag it.
4. If I said "not sure" about the database, compare the options v0 can connect from Integrations in two lines each and recommend one for my app.
5. End with the exact prompt I should send for step 1 only.
Tips to customize: v0's docs suggest building in layers: UI first, then the data layer, then login, then extra features, and they recommend giving detailed instructions so v0 doesn't make wrong guesses. If a step goes badly, you can restore an earlier version from the version controls on that message. Restoring makes a new, latest version with the old code.
Section 2: Real Data
2.1 Connect a Database and Replace the Mock Data
Untested: not yet run against a model.
Use this when you're ready to save real data and want to swap out one piece of fake data at a time. It's for connecting a database from v0's integrations, then moving one feature from mock data to real tables.
Fill in: [DATABASE] (e.g. Supabase or Neon), [FIRST FEATURE TO MAKE REAL] (e.g. "the task list on the dashboard"), [WHAT IT NEEDS TO STORE] (e.g. "task title, done or not, due date, who owns it"), [DON'T TOUCH] (e.g. "the landing page, the design").
I've connected [DATABASE] from Project settings → Integrations. Now make one feature real. Only this one.
Feature: [FIRST FEATURE TO MAKE REAL]
It needs to store: [WHAT IT NEEDS TO STORE]
Don't touch: [DON'T TOUCH]
Before you change anything:
1. Show me the table or tables you want to create, with each column and what it's for, in plain English. Wait for my OK before you run any SQL.
2. Tell me which environment variables the code will use (names only, never values).
After I say OK:
3. Create the tables, then replace the mock data for this feature only with real reads and writes.
4. Keep every database call and every secret key in server code, never in the browser.
5. Show a clear loading state, an empty state, and an error message instead of a blank screen.
6. Delete the old mock data for this feature only, and list every file you changed.
Tips to customize: Connect the database first from Project menu ... → Settings → Integrations, or ask v0 to add one in the chat. Both open the Vercel Marketplace with the provider's terms. v0's docs say adding an integration adds the needed environment variables to your project for you. For SQL databases, v0 can create, change, and drop tables, so read its table plan before you say OK. If you've already got real data, check the integration's Remote MCP setting and your chat's permission mode (Ask, Auto, or Full) so v0 asks before it runs anything. Repeat this prompt once per feature.
2.2 Make Sure Users Only See Their Own Data
Untested: not yet run against a model.
Use this when your app has real data and more than one person will use it. It's for checking that one user can't see or change another user's rows, and testing it yourself with two accounts.
Fill in: [MY TABLES] (e.g. "tasks, projects, comments"), [WHO SHOULD SEE WHAT] (e.g. "each user sees only their own tasks; everyone can read public projects"), [DATABASE] (e.g. Supabase or Neon).
Don't change any code yet. Check that each user can only see and change the data they should.
My tables: [MY TABLES]
Who should see what: [WHO SHOULD SEE WHAT]
Database: [DATABASE]
Please:
1. For each table, tell me how access is controlled right now: a database rule, a check in server code, or nothing.
2. If I use Supabase: check that Row Level Security is on for every table, and list each policy in plain English.
3. If I use another database: check that every server route and server action that reads or writes a table checks who the logged-in user is, on the server.
4. List every gap, worst first, and the fix for each.
5. Give me a test plan with two accounts, A and B, that I can run in the v0 preview: what A creates, what B should and shouldn't see, and what B should not be able to change.
Then stop and wait for my OK before fixing anything.
Tips to customize: Run the two-account test in the preview, then again on the live app after you publish. Use a normal window for account A and a private window for account B. For a deeper audit, Ship It Safe has full prompts for Row Level Security and "Can user A see user B's data?"
Section 3: Real Login
3.1 Add Login and Protect the Pages That Need It
Untested: not yet run against a model.
Use this when your app needs accounts and some pages should only open for signed-in users. It's for adding login and checking access on the server, not just hiding buttons.
Fill in: [LOGIN PROVIDER] (e.g. "Supabase Auth", or "you suggest one that works with my database"), [SIGN-IN METHODS] (e.g. "email and password", "magic link", "Google"), [PUBLIC PAGES] (e.g. "home, pricing, about"), [PRIVATE PAGES] (e.g. "dashboard, settings, everything under /app").
Add login to my app. Plan it first, then build it in small steps.
Login provider: [LOGIN PROVIDER]
Sign-in methods: [SIGN-IN METHODS]
Public pages (anyone can open): [PUBLIC PAGES]
Private pages (signed-in users only): [PRIVATE PAGES]
Rules:
1. Show me the plan first: which pages, which files, which environment variables (names only), and any settings I must change in the provider's dashboard myself. Wait for my OK.
2. Check access on the server for every private page and every server action or API route that reads private data. Hiding a link or a button is not protection.
3. If someone who isn't signed in opens a private page, send them to the sign-in page, then back to where they were going.
4. Add sign up, sign in, sign out, and a clear error when a password or link is wrong.
5. Connect each signed-in user to their own rows in the database.
6. Don't change the design of pages that aren't part of login. List every file you changed.
Tips to customize: v0's own docs show prompts like "Add user authentication so users can only see and manage their own tasks," so asking for login is normal. Adding the detail above helps it get the private-page checks right. After it's built, run Prompt 2.2 again with two accounts.
3.2 Login Is Fine in the Preview but Breaks Live
Untested: not yet run against a model.
Use this when sign-in is fine inside v0 but fails, loops, or sends people to the wrong address after you publish or add your domain. It's for finding the redirect and URL settings that still point at the preview or at localhost.
Fill in: [LOGIN PROVIDER] (e.g. Supabase Auth), [MY LIVE URLS] (e.g. "myapp.vercel.app and myapp.com"), [WHAT HAPPENS] (e.g. "the email link opens localhost", "Google sign-in says redirect not allowed", "I sign in and land back on the login page").
Don't change any code yet. Login is fine in the v0 preview but breaks on my live app.
Login provider: [LOGIN PROVIDER]
My live URLs: [MY LIVE URLS]
What happens: [WHAT HAPPENS]
Please:
1. Find every place in the code that builds a redirect or callback URL. Tell me if any of them are hard-coded to localhost, a preview address, or the wrong domain.
2. Tell me which URL settings I need to change in my login provider's dashboard myself, and the exact URLs to add for each of my live URLs.
3. Tell me which environment variables hold a site URL, and which value each should have in Production versus Development.
4. Give me the one smallest code fix, if one is needed, and wait for my OK.
5. Give me a 5-step test to run on the live site in a private window.
Tips to customize: If you use Supabase Auth, its docs say to change the Site URL under URL Configuration from http://localhost:3000 to your production URL, and to add your live addresses to the Redirect URLs allow list. Wildcards are allowed for preview URLs. After you change an environment variable in Vercel, publish again: changes only apply to new deployments. For more login-after-deploy fixes on any host, see Ship It Live.
Section 4: Go Live
4.1 Sort My Environment Variables for Development, Preview, and Production
Untested: not yet run against a model.
Use this when you've got keys from integrations and APIs and you're not sure which ones go where, or which ones are safe in the browser. It's for one clear table of every variable, where it belongs, and whether it's secret.
Fill in: [SERVICES I USE] (e.g. "Supabase, Stripe test mode, OpenAI"), [DO I WANT SEPARATE TEST AND LIVE KEYS?] (yes / no / not sure).
Don't change any code yet. Help me sort every environment variable this app uses.
Services I use: [SERVICES I USE]
Do I want separate test and live keys? [DO I WANT SEPARATE TEST AND LIVE KEYS?]
Make a table with: variable name (never the value), what it's for, which code uses it (server or browser), and which environments it should be set for (Development, Preview, Production).
Then:
1. Flag any variable starting with NEXT_PUBLIC_ that holds a secret. Those are sent to the browser, so anyone can read them.
2. Flag any secret used in browser code, and tell me how you'd move that call to the server.
3. Flag any key, password, or URL that's hard-coded in the code instead of in an environment variable.
4. List any variable the v0 preview needs that isn't set for Development.
5. Tell me which ones I should give a different value in Production than in Development.
Tips to customize: Add and edit variables under Project menu ... → Settings → Environment Variables, never in the chat. v0's docs say the preview panel can only see variables set for Development, so a key that's missing there won't work in the preview. Only variables starting with NEXT_PUBLIC_ reach the browser, and v0's security docs say never to put sensitive tokens there. Use different keys for development and production when the service offers them.
4.2 First Publish and Your Own Domain
Untested: not yet run against a model.
Fill in: [MY DOMAIN] (e.g. "myapp.com", or "none yet"), [WHERE I BOUGHT IT] (e.g. "Namecheap", "Vercel", "not bought yet"), [WHO SHOULD SEE IT] (e.g. "anyone", "only me for now").
Don't change any code unless I say so. I'm about to publish this app for the first time.
My domain: [MY DOMAIN]
Where I bought it: [WHERE I BOUGHT IT]
Who should see it: [WHO SHOULD SEE IT]
Please:
1. Check the project for anything that would break once live: localhost links, test keys, mock data that's still in use, or console logs that print private data.
2. List every environment variable that must be set for Production before I publish.
3. Tell me which login or callback URLs I'll need to update once I know my live address.
4. Write me a short checklist of what I'll do in the first publish: project name, who can see the app, which domain, then publish.
5. If I have my own domain, explain in plain words what DNS records are and that I'll copy the exact records from Vercel into my domain provider's settings.
Tips to customize: Press Publish in the chat header. v0's first-publish flow asks you to confirm the project name, choose who can access the app, pick a domain (the free vercel.app one, or a custom domain), and then publish. To add your own domain later, use Publish → Customize Domain or Project menu ... → Settings → Domains. The DNS setup itself happens in the Vercel dashboard, and a domain must be verified in Vercel before you can pick it. Use the exact records Vercel shows you, not ones from a chat. If the build fails, the deployment card shows Fix with v0 or Fix Build.
4.3 Check the Live App Before You Share It
Untested: not yet run against a model.
Fill in: [MY LIVE URL], [MAIN THINGS A USER DOES] (e.g. "sign up, add a task, mark it done, sign out"), [WHAT I CHANGED SINCE THE LAST PUBLISH] (or "first publish").
I just published. Give me a test plan for the live site, and a plan if something's broken. Don't change any code.
Live URL: [MY LIVE URL]
Main things a user does: [MAIN THINGS A USER DOES]
What I changed since the last publish: [WHAT I CHANGED SINCE THE LAST PUBLISH]
Please:
1. A 10-step test I can run in a private window on my phone and my computer, covering sign up, sign in, the main actions, sign out, and opening a private page while signed out.
2. A two-account check: account B must not see account A's data.
3. What to look for that's often different live than in the preview: missing Production environment variables, login redirects, and pages that load slowly or show errors.
4. If something's broken: when to restore an earlier version in v0 and publish again, when to roll back in Vercel, and when a small fix is better. Remind me that restoring code doesn't undo changes to database data.
5. What to tell v0 in my next prompt if I need a fix, scoped to one problem.
Tips to customize: v0's docs say publishing always uses the latest version, so to go back you restore an earlier version and publish again. The deployment card in v0 links to the deployment inspector in Vercel, which has rollbacks, redeployments, and runtime logs. Restoring code won't bring back deleted or changed rows, which is why database changes get their own step in Prompt 1.2.
Get new free packs in your inbox
Optional. Every prompt here is free, and you don't need to sign up to use any of them. We email when we add new free packs. Unsubscribe anytime.
Thanks, you're on the list. Watch your inbox for the next prompt drop.