Why choose Lovable Cloud
- Scales as you grow: From your first prototype to millions of users, Lovable scales seamlessly with your needs.
- 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.
Enabling Lovable Cloud
By default, Lovable Cloud is enabled for your workspace. You can manage Lovable Cloud behavior for your projects in Connectors → App connectors → Lovable Cloud → Manage permissionsRegion selection
Lovable Cloud projects can be hosted in three different regions:- Americas
- Europe
- Asia Pacific
- Lower latency
- Faster database responses
- Region-based data hosting
- Better overall backend performance
Permission preferences
The default setting for Cloud integration is Always allow, meaning Lovable automatically performs the action, without asking for review or approval. You can change your preference anytime from Connectors → App connectors → Lovable Cloud → Manage permissions Lovable prompts you when a feature requires backend functionality (for example, authentication or file storage). You have three options:- Allow: enable the integration for the current project.
- Deny: decline the integration for this request (you may be asked again later).
- Adjust preferences: change the default behavior for future projects (does not affect the current project).
Configuring Lovable Cloud tools
Cloud tools have three permission options:- Always allow: Lovable automatically performs the action, without asking for review or approval.
- 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
| Setting | Description | Default behavior |
|---|---|---|
| Enable Cloud | Create and connect a Cloud project to add backend features (database, auth, storage). Required to use Cloud tools. | Always allow |
| Cloud region | Select the default region (Closest to me, Americas, Europe, or Asia Pacific) for new Cloud projects. If Cloud is auto-enabled using Always allow, this region will be used automatically. | Region closest to your location |
| Read database | Allow Lovable to read your database. | Always allow |
| Read analytics | Query logs to investigate issues and behavior. | Always allow |
| Run security checks | Run automated security checks on your database. Not a full audit. | Always allow |
| Modify database | Make schema and policy changes via SQL migrations. Updates generated types. | Always allow |
| Add data | Add data to your database tables. | Always allow |
| Read project info | Read project configuration and environment details. | Always allow |
| Configure auth | Allow Lovable to configure authentication settings (for example, signup policies). | Always allow |
| Read backend logs | Read logs from backend services. | Always allow |
Lovable Cloud features
You’ll find the Cloud tab inside any Lovable project by clicking the+ button next to Preview mode.

Database
- Generate schemas automatically: describe the data you need in plain language, and Lovable creates the tables and schema for you.
- Manage without SQL: view, edit, and organize records directly in the UI. Update values, inspect tables, and keep your app’s data in sync without writing queries.
18 May 2026, 04:27:12 UTC).
Click Restore to this backup on any backup row and confirm in the dialog. Lovable rolls the database back to that point, schema and data, and the project’s database is unavailable for a few minutes while the restore runs.
Users & Auth
- User management: view user accounts, track activity, and manage access control.
- Built-in authentication: Lovable can generate signup/login pages for your app. Supports email, phone, and Google sign-in.
- Google authentication: Lovable Cloud supports Sign in with Google using OAuth 2.0. Google authentication can be enabled in Managed mode (Lovable-managed OAuth) or using your own Google Cloud credentials (BYOK). See Add Google authentication to Lovable Cloud apps for detailed information.
- Secure by default: authentication is backed by Lovable Cloud, keeping user credentials safe.
Storage
- File handling without code: upload, manage, and serve files such as profile photos, documents, videos, or static assets.
- Storage buckets: files are stored securely in a project bucket, with URLs or references you can use in your app. Storage buckets are private by default, but can be made public if needed.
- Limits: Supports files up to 2 GB.
Edge Functions
- Serverless logic: run custom code for APIs, workflows, or advanced features, without provisioning servers. Functions scale automatically with traffic.
- AI-powered features, such as AI summaries or AI chatbots. Use built-in Lovable AI.
- Sending emails or push notifications
- Payment processing, for example with Stripe
- Scheduled tasks
- Heavy computations or external API calls
- Easy to create: just describe the function you need in Lovable chat.
- Debugging built-in: each function includes logs of executions, output, and errors. If something fails, Lovable surfaces the error for quick troubleshooting.
AI
- Built in AI functionality: Lovable Cloud comes with built in AI so you can quickly create features that make your app smarter and more engaging. For more information, see Lovable AI.
- Some examples of AI powered features include:
- AI summaries – automatically condense long text into clear takeaways
- AI chatbot or agent – build conversational helpers into your app
- Sentiment detection – understand user feedback at scale
- You can monitor Lovable AI usage and performance for your project from the AI overview.
Secrets
- Secure environment variables: store sensitive data such as API keys, tokens, or credentials without exposing them in code.
- Automatic detection: when a feature needs a secret, Lovable prompts you to input it through a secure UI.
- Encrypted and safe: secrets are stored securely and automatically injected into Edge Functions or other integrations.
Secrets vs. VITE_ environment variables
Lovable’s Secrets manager is for backend values only: values used by Edge Functions and server-side integrations. Anything prefixed with VITE_ is a build-time, browser-exposed value and must live in your project’s .env file instead, not in Secrets.
- Backend secrets (use Secrets):
STRIPE_SECRET_KEY,RESEND_API_KEY,OPENAI_API_KEY, third-party service credentials, and anything that must never reach the browser. - Frontend variables (use
.env): anything prefixed withVITE_, such asVITE_SUPABASE_URLandVITE_SUPABASE_PUBLISHABLE_KEY. These are embedded into the client bundle at build time and are safe to be public. You can find and edit them in the.envfile in Lovable’s code editor or in your synced GitHub repository.
VITE_-prefixed name in Secrets, Lovable rejects it with a message like “VITE_ prefixed variables are build-time browser values and should be defined in .env files, not in secrets.”
Reserved secret name prefixes
The following name prefixes are managed automatically by Lovable Cloud and cannot be created or overwritten in the Secrets UI:SUPABASE_: for exampleSUPABASE_URL,SUPABASE_ANON_KEY,SUPABASE_SERVICE_ROLE_KEY,SUPABASE_DB_URL. These are populated by Lovable when Cloud (or a connected Supabase project) is enabled.LOVABLE_: reserved for Lovable-managed values such as the Lovable API key used by built-in AI. You can rotateLOVABLE_API_KEYfrom the Secrets UI if you suspect it has been exposed; Lovable issues a new key and updates the value in your Edge Function environment automatically.
SUPABASE_ and cannot be created”, you don’t need to add it manually. It already exists in your Edge Function environment and you can reference it directly from your function code (for example, Deno.env.get("SUPABASE_SERVICE_ROLE_KEY")). If you’re using an external Supabase project rather than Lovable Cloud, manage the connection from Project settings → Integrations → Supabase instead of the Secrets section; Lovable updates the reserved SUPABASE_* values for you when you connect.
Logs
- Real-time monitoring: watch app activity as it happens.
- Debug and trace issues: identify errors, track events, and ensure your backend is healthy.
Usage
The Usage tab gives you a visual breakdown of how your app is consuming Lovable Cloud resources over a selected time period. The time period defaults to Last 7 days. You can switch to Last day from the dropdown to adjust the period shown. Cloud usage updates daily at 10 AM CET. Usage is broken down across resource categories, displayed as a segmented bar and listed individually with a percentage:- Database server: used when your app queries or updates data. Adjust your instance size to match your app’s traffic. Larger instances provide more capacity but increase Cloud costs.
- Database storage: the disk space used by your database to store your app’s data (like users, orders, and settings).
- Compute: used when your app’s code runs.
- Storage: used to store files like images, videos, and uploads.
- Live updates: used to send real-time updates to users (for example, notifications or chat).
- Network: used when your app sends or receives data over the internet.
Database health check
Get an on-demand snapshot of your Cloud database, including connections, memory, disk usage, uptime, and more, directly from Lovable chat. Prompt Lovable in chat with something like:Find and fix database performance problems
Lovable can pinpoint the slowest queries in your database and use that data to optimize performance, so you can fix real bottlenecks before considering a larger instance. Prompt Lovable in chat with something like:- Query statistics build up as your app handles real traffic. A brand new or recently restarted database may have nothing to report yet.
- Finding slow queries is read-only. Lovable only changes your database when it applies a fix, and it tells you what it changed.
Advanced settings - Upgrade instance
Use the advanced settings to view and manage your current instance size. A larger instance allows your app to handle more users and traffic. Keep in mind that a larger instance can increase Cloud usage and use more credits as your app usage grows.- Free plan users: upgrade from Tiny to a larger instance by upgrading your plan at anytime
- Paid plan users: choose a new instance size from the options below:
- Tiny: great for trying things out
- Mini: reliable for early projects
- Small: room to grow with your app
- Medium: steady choice for regular use
- Large: confident option for higher demand
- There is less than 10% of disk space left
- IO budget is less than 50%
- CPU load is above 80%

Example flow - Prompting Lovable to build a CRM tool
Build me a CRM tool to manage clients, track deals, handle invoices, and keep notes organized. Keep the design simple, modern, and business-friendly with a sidebar for navigation.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. I want a place to keep track of my clients with their name, email, phone number, and notes. I also need a way to track deals, including which client it’s for, the value, the stage it’s in, and when I expect it to close. And I need a section for invoices with the client it belongs to, the amount, the status, and the due date.Step 2: Make it secure (Users & Auth)
Add login so data is private and users can sign in easily. Add login to the app. Require login before accessing the CRM dashboard. Also, add a ‘Sign in with Google’ button so users can log in with their Google accounts.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. Add a contract upload field to each deal. Let clients have profile pictures and display them on the client detail page. Upload invoice PDFs and show a download link on the invoices table.Step 4: Automate workflows (Edge Functions)
Set up automatic actions that save you time. When a new lead is added to the Clients table, send me an email notification. Analyze client meeting notes with Lovable AI and save a sentiment score in the Clients table. Sync new contacts automatically. Schedule a daily job at 7 AM that emails me a summary of today’s follow-ups. When a payment is marked ‘paid’ in Stripe, automatically update the related invoice’s status to ‘Paid’.Step 5: Connect to other tools (Secrets)
When you use services like Stripe or Google Calendar, they’ll give you private “keys.”Lovable will prompt you to add them securely whenever they’re needed, and only your app can use them.
Step 6: Add AI superpowers (AI)
Make the tool act like your assistant. Summarize each client’s meeting notes and save them to their profile. Suggest next steps for every open deal. Generate personalized email drafts for following up with leads. Classify client messages into categories: sales, support, or billing.Cloud and AI gateway usage costs
Lovable now uses one credit balance for building your app, hosting and running it with Lovable Cloud, and AI features in deployed apps. Cloud and AI gateway usage is measured as part of Run credits. Cloud usage is based on the Lovable Cloud infrastructure resources your deployed app consumes, and AI gateway usage is based on the model calls made by AI features inside your deployed app.FAQ
Are credits deducted for Cloud and AI gateway usage?
Are credits deducted for Cloud and AI gateway usage?
- Cloud usage covers Lovable Cloud infrastructure resources used by deployed apps, such as database, network, storage, Edge Functions, and Realtime.
- AI gateway usage covers AI features inside deployed apps, such as model calls made by your app.
Do I have control over my monthly expenses?
Do I have control over my monthly expenses?
- Add credits manually: On Pro and Business plans, workspace owners and admins can buy one-time top-ups when more credits are needed.
- Use auto top-up: On Pro and Business plans, workspace owners and admins can enable auto top-up so Lovable automatically adds credits when the workspace balance reaches or falls below a threshold you set. You can also set a monthly spend limit to control how many credits auto top-up can add in a calendar month.
What is the cost of Lovable AI gateway?
What is the cost of Lovable AI gateway?
How do I know which projects are generating the most usage?
How do I know which projects are generating the most usage?
My Cloud data isn't loading. What should I do?
My Cloud data isn't loading. What should I do?
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 Lovable 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 export my Cloud project to Supabase?
Can I export my Cloud project to Supabase?
Can I migrate my project from Supabase to Cloud?
Can I migrate my project from Supabase to Cloud?
Can I change the region after enabling Cloud for a project?
Can I change the region after enabling Cloud for a project?
How is the region selected when I enable Cloud?
How is the region selected when I enable Cloud?
Can I set a default region for all new projects?
Can I set a default region for all new projects?