01Own your code and accounts

The first production question is not technical: who owns what? Export the project to a Git repository under your organisation's account, and make sure the database, hosting, domain and any third-party services are registered to accounts you control, with more than one administrator.

If the builder platform is the only place the code lives, a suspended account or a pricing change becomes a business risk.

02Check who can read and write your data

Many AI-built apps use Supabase or a similar back end, with the browser talking directly to the database through a public key. That is a legitimate pattern only when row-level security (RLS) policies are correct.

  • Confirm RLS is enabled on every table that holds user or business data.
  • Read each policy and check it restricts rows to the right user or organisation, for select, insert, update and delete separately.
  • Check storage buckets: public buckets are readable by anyone with the URL.
  • Make sure the service-role key never appears in front-end code, environment files committed to Git or the browser's network traffic.

A simple test is to create two accounts and try to read the other account's records through the API. If you can, so can anyone.

03Enforce rules on the server

Generated code often hides a button in the interface and treats that as permission control. Anything that matters, such as plan limits, admin actions, prices and refunds, must be checked on the server or in the database, because the browser can be bypassed.

04Move secrets into environment configuration

Search the repository and its history for API keys, passwords and tokens. Move them into the hosting platform's environment variables, rotate any that were exposed and keep separate keys for development and production.

05Make payments and webhooks reliable

If you take payments, verify webhook signatures, handle repeated deliveries safely and test failed payments, cancellations and refunds, not just the successful checkout. Subscription state should come from the payment provider's events, not from what the browser reports.

06Deploy somewhere you can operate

Choose hosting that matches the app: Vercel, Netlify, Railway, AWS or Cloudflare are common choices. Set up a staging environment, a custom domain with HTTPS, and a deployment process that runs from your Git repository rather than from a builder's preview.

07Add the minimum operations kit

  • Error tracking so you see failures before customers report them.
  • Backups of the database, with one restore actually tested.
  • Uptime monitoring on the main user journey.
  • Basic logging for authentication, payments and important actions.

08Decide how you will keep building

Many teams continue to use AI tools after launch. That works best with Git branches, small changes, tests around critical flows and a person reviewing what changes before it reaches production. If prompts keep reintroducing the same bug, it is usually time for an engineer to restructure that part of the code.

09When to get help

If you are handling personal data, taking payments or selling to businesses who will ask about security, an independent review before launch is good value. It is much cheaper to fix an access policy before customers arrive than after an incident.