KBAISE/ for lovable
Library
Docs

Built-in backend

about 5 minBuildingchecked 6d agoOfficial page
The short version

Lovable includes a built-in server and database that saves user accounts, form entries, and uploaded files without any cloud setup. It turns on automatically when you ask for features that need to save data permanently.

Anyone building an app that needs user sign-in, persistent data storage, or file uploads.

Do this, in order

  1. 1

    Open the main version of your project, not a draft.

    Lovable cannot activate the backend from inside a draft version.

  2. 2

    Ask Lovable to add a feature that requires saving data, such as user accounts or a form submission database.

    Lovable automatically creates your database and server services, or asks for your confirmation to turn them on.

  3. 3

    Verify your data storage region if an approval card appears in chat.

    Once your backend is created, your project's region is permanently locked and cannot be changed.

  4. 4

    Open the More menu in the project toolbar to inspect your data.

    The More menu gives you direct access to view your database tables, registered users, uploaded files, and usage logs.

Paste this into your project

Create a user sign-up and login system with email and password, and add a profile dashboard where signed-in users can update their display name and upload a profile picture.

Words decoded

Backend
The server and database working behind the scenes to remember data, manage logins, and run tasks outside the user's web browser.
Region
The geographic data center location (such as Americas, Europe, or Asia Pacific) where your app's saved data physically lives.

Where people get stuck

  • You cannot change a project's data storage region after the backend is enabled.
  • Attempting to turn on the backend from inside a draft will fail; you must do it in the main project version.
  • Removing your database permanently deletes all user accounts, backups, and uploaded files with no undo option.
  • Projects currently connected to an external Supabase account cannot be automatically migrated to the built-in backend.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.