Cloud in AI Studio gives your apps a built-in backend. You can store data, manage user accounts and handle file uploads without connecting a separate backend service. Each project gets its own managed Cloud environment, which you set up right inside AI Studio. This article covers how to turn on Cloud and manage its database, authentication, storage, security and advanced settings.
What is Cloud in AI Studio?
Cloud is a managed backend for apps built in ZipLeads AI Studio. It gives you a database for saving information, authentication for managing app users, and file storage for uploads such as images and documents.
Cloud is created just for your project, and you manage it from the AI Studio builder. You can view stored information, set up access, manage resources, and ask AI Studio to create database tables or policies. There's no separate backend to set up.
AI Studio also asks for your confirmation before it builds features that use Cloud.
How to enable Cloud in AI Studio
You can turn on Cloud straight from your AI Studio project. Once it's activated, ZipLeads sets up the backend services your app needs. This usually takes about a minute.
Prerequisite: Cloud supports projects built on TanStack Start. If you have an existing React project, go to Project Settings → Migrate to SSR first. Migration creates an upgraded copy and leaves your original live project unchanged. You need to enable Cloud separately after migration.
Log in to your account.
Select AI Studio from the left-hand navigation menu.
Create a new project by entering a prompt that describes your app, or open an existing project.
Once the project is ready, click More → Cloud in the AI Studio builder.
Open Overview and click Enable Cloud.
Wait for Cloud to finish setting up. You can keep working on your project while setup runs.
Once connected, the Cloud dashboard becomes available with the Database, Users, Storage and Secrets options.
Note: If Cloud setup fails, your existing app stays as it is. Click Try again to resume setup.
Cloud Overview dashboard
The Cloud Overview dashboard is one central place to keep an eye on your project's backend and open its services. It shows the connection status, database instance and resource usage, so you can quickly check how the backend is going.
Once Cloud is enabled, go to Cloud → Overview to see:
Connection Status: Shows whether your Cloud instance is connected.
Database: Shows existing tables and how many records each has.
Users: Shows registered user counts and authentication settings.
Storage: Shows the storage buckets your app uses.
Secrets: Opens the project's Secrets area.
Click a section to open its detailed management page.
Database
The Database stores your app's structured data, such as user profiles, orders and other records. You can manage the information your app saves, and use row-level security (RLS) policies to control which records users can access.
To manage your database, go to Cloud → Database.
Optimise the database
Click Optimize on the Database page to send a database health-check request to AI Studio chat. This helps find possible performance or efficiency improvements.
Note: Database optimisation uses AI Studio credits, just like other chat requests.
Manage database tables and records
The Database page lists the tables in your project's public schema, their approximate row counts and their RLS policy status.
View records: Select a table to open its data.
Add records: Open a table and add new rows.
Edit records: Double-click a cell to change its value.
Delete records: Select the rows you want to remove and delete them.
Update the schema: Ask AI Studio in chat to create or change tables and policies. Schema changes are handled through AI Studio, not by editing the schema directly in the database browser.
Manage row-level security (RLS) policies
RLS policies control which database records different users can see or change. For example, a policy can let signed-in users view or update only their own orders.
Open Cloud → Database.
Click RLS policies.
Review the policies for each table, including the policy name, command, user role it applies to, and rule expression.
To change a policy, describe the access behaviour you need to AI Studio in chat.
Manage database backups
Cloud automatically creates daily backups of your database schema and records.
Go to Cloud → Database → Backups.
Review the available database snapshots.
Select the snapshot you need and use Restore to recover an earlier database state.
Important: Restoring a backup replaces the current live database with the selected snapshot. Database access is paused for a few minutes while it restores. Backups don't include uploaded storage files or app code. If the restored schema no longer matches your app, ask AI Studio to update the code.
Users and authentication
Cloud includes user management and authentication settings to control how people access your app. You can track sign-ups, manage individual accounts, and set security rules for sign-ins and passwords.
Manage app users
Go to Cloud → Users to open the user management dashboard.
Monitor signups: See registration activity using the Signups chart and its date-range filter.
Search users: Find registered users by email address.
Add users: Click Add user to create an already-confirmed account without sending an email.
Invite users: Use Send invitation to email a user a link to set their password.
View user details: Select a user to see their sign-in methods and account information.
Delete users: Open a user account and select Delete user to remove it permanently.
Configure authentication settings
Go to Cloud → Users → Auth settings to control how users sign in and register.
Setting | What it does |
|---|---|
Sign-in methods | Set up supported sign-in methods. The initial release supports email and password. |
Allow new sign-ups | Turn new registrations on or off without signing out existing users. |
Anonymous users | Allows anonymous user sign-in when turned on. |
Advanced | Opens extra authentication options. |
Configure email and password security
Under Auth settings → Email, you can set the following options:
Minimum password length: Set the required password length (at least 6 characters; 8 or more is recommended).
Required password characters: Choose which character groups passwords must include.
Check against known breaches: Reject passwords found in publicly known data breaches.
Re-authenticate to change password: Ask for the current password before a user sets a new one.
Auto-confirm email: Skip email verification. Use this for testing only.
Secure email change: Require confirmation from both the old and new email addresses.
Advanced: Set one-time code expiry and length options.
Important: Email confirmation is required by default. Keep Auto-confirm email turned off for live apps.
Configure authentication URLs
Authentication URLs decide where users are sent during login, registration and account recovery.
Site URL: Set the main URL for your app.
Redirect URLs: Add the URLs users can return to after signing in, including supported mobile deep links such as myapp://callback.
AI Studio handles preview URLs automatically. Make sure the URLs you set match your app's URLs, as a mismatch can cause sign-in to fail.
Storage
Cloud Storage manages the files your app uploads and uses, such as images and documents. Files are organised into buckets. Access is controlled by bucket visibility and row-level security policies.
Create and manage storage buckets
Go to Cloud → Storage.
Click New bucket.
Enter a bucket name of 3–63 characters, using lowercase letters, numbers and hyphens.
Choose the bucket's visibility:
Public: Anyone with the file link can open the files.
Private: Files are limited to signed-in users, subject to access policies.
Create the bucket to start storing files.
Note: You can't change a bucket's name after it's created.
Manage files
Open an existing bucket to:
Upload files and media.
Create folders to organise your files.
Download or delete files.
Rename files.
Copy file URLs to use in your app.
Important: Renaming a file changes its URL. Update anything that uses the old URL.
Configure upload limits and access
On the Storage page:
Use Upload size limit to set the largest file a bucket can accept. The default is 2 GB, and the maximum is 5 GB.
Click Save after changing the limit.
Open RLS policies to review the rules that control storage access.
Advanced settings
Advanced settings let you control the resources given to your Cloud backend. You can increase database capacity, manage storage, pause resources you're not using, or permanently remove Cloud from a project.
Go to Cloud → Overview → Advanced settings to find these controls.
Manage database size
Cloud starts with the free Tiny database instance. You can change the instance size to suit your app's needs.
Available sizes are:
Tiny
Mini
Small
Medium
Large
X-Large
Click Manage next to Database size to see the available options and their hourly pricing.
You can increase or decrease the database size once per hour. Changes take a few minutes and briefly restart the app.
Manage database storage
Click Manage next to Database storage to increase the space allocated to your database.
You can increase database storage up to four times per day.
Allocated database storage can't be decreased.
Charges are based on the allocated space and continue even when Cloud is paused.
File storage is billed differently. Its usage goes up or down with the files you store, and charges are based on the amount actually stored.
Pause or wake up Cloud
Click Pause under Pause Cloud to stop access to the Cloud backend while keeping its data.
To turn a paused Cloud instance back on, open the project's Cloud tab and click Wake up.
Remove Cloud
Click Remove under Remove Cloud to permanently delete the project's Cloud backend.
Warning: Removing Cloud permanently deletes the project's database, users and stored files. Export your database tables as CSV files and download any files you need before you remove it. Your other AI Studio projects aren't affected.
Frequently Asked Questions
Q: Does enabling Cloud automatically update my published app?
No. Your published app stays as it is until you publish the updated project again.
Q: What happens to Cloud data when I share or remix an AI Studio project?
When you share or remix an AI Studio project, the copy is disconnected from the original project's Cloud backend and doesn't send requests to it. If you enable Cloud on the copy, a new backend is created with the same database table structure, but without any of the original project's records, users or files.
Q: Are submissions from AI Studio forms connected to the ZipLeads CRM automatically stored in Cloud?
No. Submissions from AI Studio forms connected to the ZipLeads CRM are sent to your account's CRM. Cloud database storage is a separate feature.
Q: Where are authentication emails sent from?
Sign-up confirmation, invitation and password reset emails are sent through your account's email settings. The links in these emails take users back to your app.











