All posts
For Existing Projects2026-07-16 · Updated 2026-09-119 min read

How to Get an AI-Built App Live Safely

Take a vibe-coded or AI-built app live safely: what to check first, the seven places these apps usually break, and when to fix instead of rebuild.

Matching serviceTurn an AI-built prototype into a product

AI tools like Lovable, Bolt, v0, Replit, and Cursor can turn an idea into a working app in an afternoon. That is a real achievement. It is also where the risk hides, because a demo only has to work when you click through it, and a live app has to keep working when strangers use it in ways nobody planned for, with their own data and sometimes their own money.

Being AI-built or vibe-coded is not a defect. Plenty of these apps are close to ready. The tools optimize for something that looks and feels finished, and the parts they tend to skip are the parts a demo never shows: who can read which data, what happens when a payment retries, and how you undo a bad deploy.

This guide covers the order to check things in, what to look for at each step, and how to decide between fixing what you have and starting again. Most of it can be checked without reading code, and the steps that need a developer say so.

1. Decide How Much Is at Stake

Before checking anything, be clear about what going live means for this particular app. The answer decides which of the later checks are optional and which are not.

  • Internal tool. A handful of known users and no personal or payment data. A working sign-in, backups, and a clear owner for every account are usually enough to start.
  • Customer-facing, no payments. People sign up but no money moves. Add every check in step 3, a restore you have actually tested, and error monitoring before you invite anyone outside the team.
  • Money or sensitive data. The app takes payments or stores health, financial, or other sensitive personal information. Treat every step in this guide as required before launch.

If you are unsure which of these you are, assume the next one up. It is cheaper to over-check a small app than to find out after launch that one account could read another account's records.

Privacy obligations are a separate question from technical safety. A code review can tell you whether data is protected; it cannot tell you what the law requires you to do with it.

2. Take Ownership of Every Account

AI-built apps often live inside the tool that made them, or across accounts someone created on a personal email while experimenting. That is fine for a prototype. It becomes a serious problem the first time a card expires, a contractor leaves, or a tool changes its plans and you discover you cannot get back in.

List every system the app depends on, and confirm that the business, not a person or a tool session, can recover access to each one.

  • The code. Most of these tools can push to a GitHub repository. Make sure that repository sits in an account the business controls, with its full history.
  • The domain and DNS. Of everything on this list, these are usually the hardest to recover if you lose them.
  • Hosting and deployment. Know who is allowed to deploy, and whose card gets billed.
  • The services behind it. The database, sign-in, file storage, email sending, and payments, each as its own account with its own owner.
  • Every API key and secret. Record the names and where the values are kept, never the values themselves in a shared document.

Move every login into a password manager the business owns and turn on two-factor authentication for each account. Stop pasting keys into chat messages, email, or website forms; set them in the hosting platform's environment settings instead.

3. Check the Seven Places AI-Built Apps Usually Break

These are not exotic bugs. They are the predictable gaps between an app that works in a demo and one that is safe with real users, and AI tools produce them because they build the path someone described in a prompt rather than every path a user might take.

  • Database access rules. If the app uses Supabase or a similar backend, Row Level Security decides which rows each user can read and change. Check that it is switched on for every table that holds user data, then prove it works: sign in as a second test account and try to load the first account's records. Rules that exist but were never tested give false comfort.
  • Keys in the browser. Anything the browser downloads, a visitor can read. In a Next.js app, any variable whose name starts with NEXT_PUBLIC_ is built into the page. A public or anon key is designed to be visible there. A service-role key, a secret API key, or a database connection string is not, because it bypasses the access rules above.
  • Admin by obscurity. An admin page that is simply unlinked, or sits at a hard-to-guess address, is not protected. Every admin screen and every internal action needs a real permission check on the server.
  • Payments and webhooks that run twice. Payment providers can deliver the same event more than once, and they retry when the app is slow to respond. If the handler does not record which events it has already processed, one purchase can be fulfilled twice or one subscription provisioned twice.
  • Checks switched off to force a deploy. When a build fails, AI tools sometimes fix it by telling the build to ignore type or lint errors, through a setting such as ignoreBuildErrors. The deploy goes green and the errors are still there.
  • Only the happy path. Try what the demo never did: submit a form twice, lose your connection halfway through, let an outside service time out, use a card that gets declined. The app should tell the user what happened instead of silently dropping their action.
  • Unfinished sign-in flows. Password reset, email verification, and account deletion are often generated but never connected end to end. Test each one with a real inbox.
Score these seven checks in the Codebase Health Checklist

4. Walk One Critical Flow Like a New User Would

Pick the single flow that delivers what the app is for: signing up and creating a first project, placing an order, booking an appointment. Then walk it as someone who has never seen the app before.

  • Use a private browser window, a new email address, and a phone as well as a laptop.
  • Write down each step and what should happen before you start, so you notice when something does not.
  • Repeat the flow as a second account and confirm neither account can see the other's data.
  • Enter the wrong things on purpose: empty fields, very long text, the back button at the worst possible moment.
  • Check that confirmation emails arrive, that the links inside them work, and that nothing important exists only on a screen you have just closed.

One flow walked carefully tells you more than twenty features clicked through quickly. If the main flow breaks, fix it before anything else, including new features.

5. Put a Minimum Safety Net Under Production

Production readiness is not a count of tests. It is whether you find out about problems before your users tell you, and whether you can undo a mistake quickly. This is the smallest safety net worth having.

  • A deploy gate. The build, the type check, and at least one automated test of the critical flow run before anything reaches production, and a failure stops the deploy.
  • Error monitoring. Alerts go to a named person, rather than into logs that nobody reads.
  • An uptime check. Something outside the app checks the main page and the sign-in page and tells you when either stops responding.
  • Backups you have restored. Take database backups, and perform at least one restore. A backup that has never been restored is a hope, not a backup.
  • Separate environments. Testing never touches real customer data.
  • A written rollback. Know how to return to the previous version, and write it down before you need it.

6. Decide Whether to Rescue, Stabilize, or Rebuild

By this point you have enough evidence to make this decision on facts instead of frustration. Rebuilding feels clean, but it throws away everything that already works and restarts the clock on problems you have already found and understood.

  • Keep it and fix it. The data model fits how the business works, users can complete the main flow, and the failures cluster in a few places such as sign-in, payments, or deployment.
  • Stabilize it first. It works but it is fragile: nothing is badly wrong, yet every change breaks something else. Tests around the critical flow and a deploy gate come before new features.
  • Rebuild the part that is wrong. The data model does not match the business, the access rules cannot be fixed without touching everything, or nobody can deploy it reliably. That is often one workflow, not the whole app.

If you cannot tell which of these applies, that uncertainty is the thing to resolve before anyone quotes you for fixes. A quote written before the problem is understood is a guess with a number on it.

What to Send a Developer Before the First Call

Whether you bring in a freelancer, an agency, or PiFlow, a short written brief turns the first conversation from exploration into decisions. Send:

  • The app's address, and which tool or tools built it.
  • What users do in it, and the one flow that matters most.
  • What is broken or worrying you, with screenshots or a short screen recording.
  • Your answer from step 1: who uses the app, and whether it handles money or sensitive data.
  • The account list from step 2, with the owner of each account.
  • Your deadline, and a budget range if you have one.

Do not send passwords, API keys, or customer data in that first message. Once you agree to work together, access can be granted through the platforms themselves instead of by sharing credentials.

7. Decide Who Operates It After Launch

Someone has to own the app once it is live: reading the alerts, applying updates, renewing things before they expire, and deciding what to do when a vendor changes something. There are two honest options.

  • Run it yourself. This works when someone on your side is comfortable in the hosting dashboard, holds the account access from step 2, and has the safety net from step 5 in place. Set aside time every month for updates and for reading the alerts.
  • Hand operations to someone else. The arrangement should state what is covered, how quickly they respond and during which hours, and what happens to your accounts and code if you part ways.

Either way, the hosting platform, database provider, and payment processor still run the underlying infrastructure. Nobody operating on top of them can honestly promise uninterrupted uptime, so be wary of anyone who does.

8. Launch With a Written Handover

Before real users arrive, write down what is live and how it works. This is the document you will reach for at the worst possible moment, so keep it short and specific.

  • What is deployed where, and how to deploy a change.
  • How to roll back, step by step.
  • Where each account lives and who owns it, pointing to the password manager rather than containing any secrets.
  • What is monitored, and who gets alerted.
  • Known issues and limits you have decided to accept for now.
  • Who makes the call when something goes wrong.

The safest launch is not the most polished one. It is the one where the people responsible understand what they are running and can make the next change without guessing.

Where PiFlow Fits

If the app is already stable and live, PiFlow starts with a free maintenance review. It confirms whether the app is clearly deployable, whether access and ownership are workable, and whether ongoing maintenance makes sense. It is a fit review, not a full technical audit.

If the app is fragile, unclear, stalled, or stuck at deployment, the starting point is Technical Discovery: a CA$499 diagnosis, turned around in 1-3 days once the repository and access are ready. You get a written report on what is broken, what is risky, and what to fix first, a prioritized roadmap, and a walkthrough call. It is diagnostic by default, so no production code changes are made unless they are quoted separately.

PiFlow can also deploy and manage the app on third-party platforms through an active support plan. Those platforms still run the underlying infrastructure.

Continue with the right path

Related guides

Run the public health checklist first. Its AI-built section turns step 3 into questions you can score, and the result tells you whether to start with a free review or Technical Discovery.

Check the codebase before launch