Lovable Cloud vs your own Supabase: what changes for auth and data
By Arif Khan, AIVolve LLC · Updated November 20, 2026
"Lovable turned on Lovable Cloud for my app. Should I have connected my own Supabase instead? And if I switch later, what happens to my users' logins and my data?"
Short answer: both run on Supabase technology. The difference is who owns and runs it. Lovable Cloud (Lovable's docs now call it the built-in backend) is created and managed by Lovable, paid for with Lovable credits, and doesn't appear in your Supabase dashboard. Your own Supabase project lives in your Supabase account, is billed by Supabase, and you manage it in the Supabase dashboard. Lovable has no one-click switch in either direction. Moving from Cloud to your own Supabase is a manual migration: the database export includes your users and their password hashes, so people keep their passwords, but everyone signed in has to sign in again, and files, Edge Function code, secrets and sign-in provider settings have to be moved by hand. Moving from Supabase to Cloud isn't supported at all. So decide before you have real users.
First: "Lovable Cloud" and "built-in backend" are the same thing
Lovable's docs say the built-in backend includes a database, user authentication, file storage, realtime and Edge Functions, and that it "utilizes Supabase's open-source foundation". You'll still see the name Cloud in the product, for example in your Cloud credit usage and in the Enable Cloud permission. This guide uses "Lovable Cloud" because that's what most founders search for.
That's also why you can't find your Cloud database in Supabase. Supabase's own help article says projects on Lovable Cloud are provisioned and managed entirely by Lovable, are not owned by your Supabase account, and don't appear in your Supabase dashboard.
What changes for auth, data and day-to-day work
| Lovable Cloud (built-in backend) | Your own Supabase project | |
|---|---|---|
| Who owns the backend account | Lovable runs it for you | You, in your Supabase account |
| Billing | Lovable credits (part of Run credits) | Your Supabase plan, billed by Supabase |
| Where you manage data and users | Database, Users and Storage views in Lovable (More menu), including a SQL editor | Supabase dashboard |
| Site URL and redirect URLs | Lovable keeps them up to date: it sets the Site URL when you publish and adds a custom domain to the redirect URLs | Lovable adds its own addresses, but the Site URL and any other address are yours to set |
| Social logins and SSO | Configured through Lovable, including managed Google sign-in and SAML SSO | Configured by you in the Supabase dashboard |
| Login emails from your own domain | Set up through Lovable (sent through Lovable Auth) | Lovable's custom emails cover app emails only. For login emails from your domain, set up custom SMTP in Supabase yourself |
| Secrets (Stripe, Resend keys) | Lovable's Secrets view | Your Supabase project's Edge Function secrets |
| Backups | Daily, about 14 days kept, restore the whole database from Lovable | Whatever your Supabase plan and settings provide |
| Outside tools reading your data | Build an Edge Function endpoint | Also direct access to Supabase's auto-generated REST API and client libraries |
| Region | Picked when the backend is enabled, then locked | Picked when you create the Supabase project |
All rows are from Lovable's docs (Built-in backend, Connect to Supabase, Users and authentication, Back up and restore). A few Lovable features only work on Cloud, per the same docs: the in-editor backend views, signed-in browser testing, configuring auth from the chat, and built-in payments on older React + Vite apps (newer TanStack Start apps can use built-in payments with your own Supabase).
What doesn't change: your security job
Either way, your app talks to the database from the browser with a public key. Lovable's docs say VITE_SUPABASE_URL and VITE_SUPABASE_PUBLISHABLE_KEY are embedded into the client bundle and are safe to be public. That's only true because Row Level Security decides who can read and write each row. Lovable's Supabase docs put it plainly: missing RLS policies are the most common way app data gets exposed. Lovable runs automated security checks on both setups, and its Cloud docs describe them as "Not a full audit". Moving to your own Supabase doesn't make an app safer or less safe. The policies do. Our 10-minute RLS check works on both.
Which one should you pick?
Stay on Lovable Cloud if: you're building your first version, you don't want a second account and bill, and you like managing users and data inside Lovable. Lovable's docs say most projects never need a separate Supabase account.
Connect your own Supabase if: you want the Supabase dashboard and full control of backups, instance size and pausing; you want other tools to read your data directly through Supabase's API; you already have a Supabase project; or you want to be able to keep your backend if you ever stop using Lovable.
The timing trap: Lovable's docs say the Settings → General → External Supabase option to connect your own project appears only on projects that don't have a backend yet. And by default, the Enable Cloud permission is set to Always allow, so Lovable turns on Cloud by itself the first time you ask for something like a login or a saved form. If you want your own Supabase, connect it before you ask for any backend feature, or set Enable Cloud to Ask each time in Account settings → Preferences → Agent permissions.
One more warning from Lovable's docs if you connect your own project: several Lovable projects can share one Supabase project, but they overwrite each other's secrets, including LOVABLE_API_KEY, so features that use that key stop working. Lovable shows a warning icon when you pick a project another Lovable project already uses.
If you're already on Cloud and want to move: what moves and what doesn't
Lovable calls moving a backend developer work, and its migration guide says to keep your app running on Cloud while you prepare the new backend. Here's what moves, according to Lovable's docs:
| Part of your app | Does it come along? |
|---|---|
| Table structure, RLS policies, functions, triggers | Yes, through the SQL migration files in your code (supabase/migrations/) |
| Your data and user accounts | Yes, in the database export, including password hashes |
| Users' sessions | No. The new project signs sessions with its own keys, so everyone signs in again |
| Files in Storage | No. Download them from More → Storage and upload them to the new buckets |
| Edge Function code | It's in your code (supabase/functions/), but you deploy it to the new project yourself |
| Secrets (Stripe, Resend, AI keys) | No. Add each one again in the new project's Edge Function secrets |
| Sign-in providers and redirect URLs | No. Turn each provider on again and update the redirect URLs in Google, GitHub and so on to your new Supabase project's address |
| Scheduled jobs | Not reliably. Compare what exists after the restore and recreate missing schedules |
| Lovable app connectors and AI features | They run through Lovable. Replace those calls with your own accounts when the backend moves |
The export itself, per Lovable's docs: go to More → Database → Manage → Settings → Export data. Lovable emails you when it's ready and saves it to your project's Storage. It's a compressed PostgreSQL archive (a .backup file) that a developer loads with pg_restore using PostgreSQL 16 or newer tools, not something you paste into the SQL editor. You can request one export every 24 hours, for databases up to 15 GB.
The 6 auth checks after a move
Most "it worked on Cloud" problems after a move are login problems. On the test copy of your app, before you switch real traffic:
- Sign in with a migrated account and its old password. If it fails, the user rows didn't restore correctly.
- Expect everyone to be signed out. Supabase's guide on migrating users says that when the new project has a different JWT secret, existing tokens stop working and users must log in again. Tell your users before the switch.
- Set the Site URL and Redirect URLs in the new project under Authentication → URL Configuration. Supabase's docs say the Site URL is the default redirect when no
redirectTois set and is critical for email confirmations and password resets. On your own project, Lovable's docs say the Site URL is yours to set. - Update each OAuth app. In Google Cloud Console (and GitHub and others), add your new Supabase project's callback URL. Lovable's docs note that managed OAuth configuration is only available on the built-in backend.
- Point the app at the new project. The browser values are
VITE_SUPABASE_URL,VITE_SUPABASE_PUBLISHABLE_KEYandVITE_SUPABASE_PROJECT_IDin.env, plus the project ID insupabase/config.toml. Lovable's docs say browser values are embedded at build time, so rebuild or republish after changing them. - Set up email sending, then test password reset and the confirmation email end to end. Supabase's docs say its default email server only delivers to addresses on your Supabase team until you configure custom SMTP, so real users would get no confirmation or reset emails. Also check that your Stripe webhook now points at the new project's function URL with the right signing secret.
Only when all six pass do you take a final export, restore it, and switch. Keep the Cloud project until the new one has run for a while. Lovable's docs warn that removing the built-in database permanently deletes it, its backups, your users and your stored files, including the export if it's still in Storage.
A prompt for Lovable
I am deciding whether to keep this project on Lovable Cloud or move it to my own Supabase project. Do not change anything. 1. Tell me which backend this project uses now. 2. List every table, Edge Function, storage bucket, secret name (names only, never values), sign-in method and scheduled job. 3. List every feature that uses Lovable app connectors or Lovable AI. 4. List every place the code reads the Supabase URL, project ID or publishable key. 5. Tell me what I would have to set up again by hand if I moved to my own Supabase project. Never print a key or secret value.
FAQ
What is Lovable Cloud?+
Lovable Cloud is Lovable's built-in backend: a database, user authentication, file storage, realtime and Edge Functions that Lovable creates and manages for your app. It is built on Supabase's open-source foundation and paid for with Lovable credits. Lovable's docs now call it the built-in backend.
Why can't I see my Lovable Cloud database in my Supabase dashboard?+
Because you don't own it in Supabase. Supabase's help article says Lovable Cloud projects are provisioned and managed entirely by Lovable, are not owned by your Supabase account, and don't appear in your Supabase dashboard. You manage the data from the Database view in Lovable instead.
Can I move from Lovable Cloud to my own Supabase?+
Yes, but not in one click. You export the database, apply your migration files to a new Supabase project, restore the data, copy your storage files, add your secrets, deploy your Edge Functions and set up sign-in again. Lovable's docs call this developer work. Moving from your own Supabase to Lovable Cloud isn't supported.
Will my users have to reset their passwords if I move off Lovable Cloud?+
No, if the restore works. Lovable's docs say the database export includes user accounts and their password hashes, so users keep their passwords in a Supabase project. Anyone signed in at the time of the switch has to sign in again, because the new project signs sessions with its own keys.
Is my own Supabase project more secure than Lovable Cloud?+
Not by itself. Both use a public key in the browser, so on both setups your data is protected by Row Level Security policies. Lovable's docs say missing RLS policies are the most common way app data gets exposed. Check your policies before real users arrive, whichever backend you use.
Want a second pair of eyes?
If you're about to move a live app with real users, or you aren't sure your RLS policies are right, start with our free X-ray. It takes about 2 minutes, needs no code or passwords, and an AIVolve developer reviews every one within 1 business day. Get a free X-ray →
Related: Lovable + Supabase login loop: the real fix · Supabase anon key vs service_role key · Supabase RLS for AI-built apps: the 10-minute check · Stripe works in test mode but not live · Lovable SEO: why Google can't see your app · Supabase password reset link expired or invalid
Written by Arif Khan, AIVolve LLC. VibeCoderSOS isn't affiliated with Lovable or Supabase. Based on Lovable's and Supabase's documentation, checked on November 18, 2026. We did not run a migration for this guide, and Lovable may change how its backend works.
Need help?
Moving a live Lovable app to your own Supabase? A free X-ray shows what your app depends on and what to check first.
Get a free X-ray →