Why use the built-in backend
Three things make it the default choice for most projects:- Scales as you grow: App hosting handles traffic changes automatically, and you can increase your database’s instance size and storage when your app needs more.
- Secure by default: Enterprise-grade authentication, fine-grained access controls, and compliance best practices protect your app and data.
- Cost-effective: Manage multiple projects in one workspace with credit-based usage. Lovable includes monthly Cloud grants on Free, Pro, and Business plans. For details, see Credits and usage.
What’s included
You’ll find the Cloud tools inside any Lovable project by opening the More tab in the project toolbar and selecting Cloud. Each area has its own page with full details, in the order they appear in the Cloud view:Enabling the built-in backend (Cloud)
By default, the built-in backend (Cloud) is enabled for your workspace. When a feature you ask for requires backend functionality (for example, authentication or file storage), Lovable enables Cloud automatically or asks for your approval in the project chat first, depending on the Enable Cloud permission described below. Lovable can’t turn Cloud on from inside a draft. Ask in the main version of your project instead, then continue in the draft once Cloud is on.Cloud permissions
Each Cloud tool has three permission options:- Always allow: Lovable automatically performs the action, without asking for review or approval. This is the default for most Cloud tools.
- Ask each time: Lovable asks for your approval whenever the action is needed.
- Never allow: Lovable blocks the action, informs you that Cloud access is required, and instructs you to enable Cloud.
Tool settings and defaults
Region selection
Projects can be hosted in three regions:- Americas
- Europe
- Asia Pacific
- Lower latency
- Faster database responses
- Region-based data hosting
- Better overall backend performance
Workspace-level default hosting region
On Business and Enterprise workspaces, admins can set a required default region for every new project from Privacy & security (Workspace settings → Security → Privacy & security → Default hosting region). When a default hosting region is set, workspace members cannot choose a different region when creating a project. The setting applies only to new projects. Existing projects keep the region they were created in. Country-specific regions (for example, Germany, Japan, or United States East) can be enabled for Enterprise workspaces on request, subject to available capacity in that region. Contact your Lovable account team to discuss your requirements. See Default hosting region for more information. The default hosting region covers where project data is stored, not where AI model requests are processed. To keep the workspace’s AI model requests in the European Union, Enterprise admins enable EU inference.Tutorial: build a CRM by prompting
This walkthrough builds a real app, a customer relationship manager (CRM), entirely by prompting. Each step introduces one backend capability and shows the kind of prompt that activates it.Step 1: Organize the data (Database)
Tell Lovable what kind of information the tool should keep track of for you. Lovable will automatically create the tables for you, so you don’t need to touch databases yourself.Step 2: Make it secure (Users & Auth)
Add login so data is private and users can sign in easily.Step 3: Handle files (Storage)
You can let users upload and see files right inside the app. Lovable takes care of the storage and linking, so you just describe what files should go where.Step 4: Automate workflows (Edge Functions and Jobs)
Set up automatic actions that save you time. Prompt one automation at a time so each one is set up and tested properly:Step 5: Connect to other tools (Secrets)
Services like Stripe or Resend give you private API keys. Lovable prompts you to add them securely whenever they’re needed, and only your app can use them. Tools that sign in with an account instead of a key, such as Google services, connect through Connectors.Step 6: Add AI superpowers (AI)
Make the tool act like your assistant.Cloud and AI gateway usage costs
Lovable uses one credit balance for building your app, hosting it and running its built-in backend (Cloud), and AI features in deployed apps. Cloud and AI gateway usage is measured as part of Run credits. See Project usage for the per-project usage breakdown and monthly grants, and Credits and usage for how credits work across your workspace.FAQ
I'm currently using the Supabase integration. What does this change mean for me?
I'm currently using the Supabase integration. What does this change mean for me?
- For existing projects: continue using Supabase with no changes.
- For new projects: choose either the built-in backend (Cloud) or Supabase.
Can I change my mind after adding Cloud to my project?
Can I change my mind after adding Cloud to my project?
Can I remix Cloud projects?
Can I remix Cloud projects?
Can I migrate my project from Supabase to Cloud?
Can I migrate my project from Supabase to Cloud?
Can I migrate my project from Cloud to my own Supabase?
Can I migrate my project from Cloud to my own Supabase?
Can I set a default region for all new projects?
Can I set a default region for all new projects?
How is the region selected when I enable Cloud?
How is the region selected when I enable Cloud?
Can I change the region after enabling Cloud for a project?
Can I change the region after enabling Cloud for a project?
Which PostgreSQL extensions can I use with Cloud?
Which PostgreSQL extensions can I use with Cloud?
pg_cron for scheduled jobs, pg_net for HTTP requests from the database, vector for embeddings, and postgis for geographic data. Lovable refuses CREATE EXTENSION for any other extension in the project chat, the SQL editor, and the API. Extensions already installed in your database keep working. See Supported PostgreSQL extensions for the full list.