To move a Lovable app to your own hosting and GitHub, connect the project to GitHub, then deploy the front end from that repository to a host such as Vercel. That part is straightforward. The backend is the hard part: Lovable's own documentation says moving off its built-in backend is not a one-step process, and the code export does not carry your data. Decide first whether you are moving only the front end or the whole app.
This reflects Lovable's and Supabase's documentation as of 9 November 2026. Both change often, so check the live pages before you act.
Is moving the code the same as moving the app?#
No. Lovable says you are not locked in: the front end can move to another host while the backend stays on Lovable's built-in backend, according to its hosting and ownership guide. Its external hosting guide adds that git sync and the zip download do not include database records or storage files.
So there are two jobs: moving the code, and moving the data and services behind it. Many founders only need the first.
How do you get the code onto GitHub?#
Use Lovable's git sync. It is available on all plans, works in both directions, and keeps the repository in your own account, according to the git sync overview. A few limits matter:
- It exports your project; you cannot import an existing repository.
- It covers one repository and one branch at a time.
- Pushing code to GitHub does not publish your live site. Only publishing from Lovable does.
- Do not force-push or rewrite history on the synced branch. The next sync replaces Lovable's copy.
Downloading the whole project as a zip needs a paid plan, per Lovable's code editor docs.
Which kind of app do you have?#
Check this before choosing a host. Lovable's guide says apps created from 13 May 2026 use TanStack Start, which runs server code and needs a host that can run a server. Older React and Vite apps build to static files that any static host can serve. A developer can tell which you have by looking for the @tanstack/react-start package in package.json. Older tutorials may not match a newer app.
What is the simplest move?#
Move only the front end, keep Lovable's backend, and deploy from GitHub to a host like Vercel. Lovable's guide says this works, and you set only the front-end variables on the new host.
For an older Vite app, Vercel's Vite guide says single-page apps need a rewrite sending every path to /index.html, or refreshing a page returns a 404 error. Variables that start with VITE_ are public and are baked into the site at build time, so only public values belong there, and a change needs a rebuild. Never put a private key in one.
Once the site works on the new host, point your domain at it and add the new domain to the allowed redirect URLs of your sign-in provider, as Lovable's guide advises. Then unpublish the old lovable.app address if you do not want it to keep serving the app.
What about the database and users?#
This is where moves go wrong. Lovable Cloud, the built-in backend, is not an account in your own Supabase dashboard. Supabase's troubleshooting page, updated 3 November 2026, says there is no automated way to move it, and that you get no SQL editor and no service role key for it. See Supabase's note.
Lovable's backup docs describe an export of the database structure, data, user accounts and password hashes. It does not include storage files, edge function code, secrets or sign-in provider settings. The export file is a PostgreSQL backup that needs developer tools to restore, and it is limited to one export every 24 hours.
If you want to own the backend from the start, Supabase advises creating the project in Supabase first and connecting Lovable to it. Whether an existing Lovable Cloud project can be switched is something a developer should check against the live documentation; the two vendors' pages describe it differently.
What usually breaks?#
From Lovable's guide and our own work on AI-built apps, the same things come up:
- Secrets are not exported and cannot be viewed, so they must be entered again.
- Sign-in redirect URLs still point to the old address, so logins fail on the new domain.
- Edge functions do not come with the database export and need redeploying.
- Scheduled jobs do not migrate and must be recreated. Do not run the same job in two places.
- Features that depend on Lovable's own services stop working when you leave its backend.
What can you do yourself, and what needs a developer?#
This split is our judgement, not a rule from the docs.
| Task | Who |
|---|---|
| Connect GitHub, create a Vercel account, import the repo | You |
| Paste in public front-end variables, point a domain | You, carefully |
| Test the new site as a stranger: sign up, log in, reset a password | You |
| Restore the database, move storage files, redeploy functions | Developer |
| Rebuild sign-in providers, cron jobs, security rules | Developer |
| Final switch from the old site to the new one | Developer |
What should you check after the move?#
Treat the move as a security event. Supabase's key docs say the publishable key is the only one safe in a browser, and that a leaked secret key exposes all your project's data; see Supabase's API key guide. Check that no secret key sits in your repository or in any VITE_ variable, rotate any key that was ever pasted into a chat or committed, and confirm every table has access rules. Our security checklist for AI-built apps walks through the founder-friendly version.
Keep verified backups before you delete anything on Lovable. Deleting the database there is permanent.
Where should you start?#
Start by working out whether you need the whole app or only the front end. If you are weighing a bigger rebuild, read rebuild or fix your AI-built app first. More guides are on our AI-built apps page. If you would like a second pair of eyes on a move before you start, you can talk to us.
Frequently asked questions
Can I move my Lovable app for free?
Connecting GitHub is available on all Lovable plans, according to Lovable's documentation. Downloading the whole project as a zip needs a paid plan. Hosting, your database and your domain have their own costs on whichever provider you choose, so check each provider's current pricing page.
Will my users have to sign up again?
Not if the database is moved properly. Lovable's guide says the export includes user accounts and password hashes, so people keep their passwords. Active sessions do not carry over, so everyone has to sign in again.
Should I do this myself or hire a developer?
Moving the front end from GitHub to a host is something a careful non-technical founder can often do. Moving the database, storage files, functions and sign-in settings needs a developer, and a mistake there can lose data.
Sources
Uday M
Co-founder, Svarnix
Builds and fixes websites, apps and automations for startups and small businesses.
Keep reading
Payment Went Through but the Order Did Not Update
Customer paid but your AI-built app shows the order as pending? It is usually a webhook problem. Here are the causes and what to check in Stripe or Razorpay.
What to Test Before Launching an AI-Built App
A click-through test script for non-technical founders: signup, duplicate email, password reset, mobile data, payment, empty and error states. No code needed.
Who Owns Your Lovable or Bolt App's Code?
Who owns the code of an app built with Lovable or Bolt, and can you leave? What each builder's own terms say about ownership, export and training.