Build guides/Backend and auth

Lovable Cloud Guide: Add a Database, Login and Storage to Your App

LBEditor, Lovable Builder GuideUpdated 2 min readChecked against docs.lovable.dev

Short answer: Lovable Cloud is the built-in backend that comes with Lovable projects. It gives your app a PostgreSQL database, user login, file storage, realtime updates and edge functions without any setup. You add each part by asking in chat, store API keys in Cloud secrets, and can connect your own Supabase project instead if you want to own the backend directly.

Updated November 2026 by admin@lovable-ai.dev, editor of Lovable Builder Guide. Steps follow Lovable’s documentation at docs.lovable.dev; Lovable changes its interface often, so labels may differ slightly. Lovable Builder Guide is an independent site run by a Lovable affiliate member, not lovable.dev.

What is in Lovable Cloud?

Part What it does Example prompt
Database Stores your app data in PostgreSQL Save each booking with class, member and time
Authentication Sign-up and login for your users Let members sign up with email or Google
Storage Holds uploaded files and images Let users upload a profile photo
Edge functions Run server-side code, call external APIs Send a confirmation email after booking
Realtime Push live updates to open screens Update spots left without reloading

How do I add login?

Ask for it in chat. Unless you name specific methods, Lovable sets up email and password sign-in, Google sign-in and Sign in with Lovable. You can add others such as Apple or Microsoft by asking.

Where should API keys go?

Never paste keys into chat or code. Store them in Cloud secrets and let an edge function use them to call the outside service (email, payments, CRM). Sending email from your app requires Cloud and an edge function.

Who can see my data?

Apps talk to the database from the browser, so row-level security (RLS) decides who can read or change each row. Lovable writes RLS policies when it builds features that store user data; review them before launch. See our security checklist.

Lovable Cloud or my own Supabase?

Lovable Cloud Your own Supabase
Setup Automatic Connect an existing Supabase project
Ownership Managed by Lovable Your own Supabase account
Billing Uses your Lovable credit balance Supabase plan billed separately
Best for Most new projects Teams that need direct control of the backend

What does Cloud cost?

Since August 2026, Cloud usage and build credits share one balance, so a live app with users spends credits. Plan a buffer before launch.

FAQ

Is Lovable Cloud the same as Supabase?

It is built on Supabase’s open-source stack, managed by Lovable inside your project.

Can I move my data out later?

Yes. The database can be exported; code syncs to GitHub separately.

More Lovable building guides

Start building on Lovable · Lovable Builder Guide is a Lovable affiliate member and may earn a commission. Not affiliated with or endorsed by Lovable.