> ## Documentation Index
> Fetch the complete documentation index at: https://support.bolt.new/llms.txt
> Use this file to discover all available pages before exploring further.

# Add and manage a built-in database in your Bolt project

> Every Bolt project can have a built-in database. Create tables, add authentication and file storage, run server functions, and query data without extra tools.

Bolt creates a database automatically if your project needs one, or if you explicitly ask Bolt to create a database or a database-related feature. You don't need to set anything up manually.

If you're new to databases, see [Introduction to databases](/reference/intro-databases).

## What Bolt Database includes

* **Unlimited databases:** There's no limit to how many databases you can create.
* **No manual setup:** You don't configure servers or hosting. Bolt handles it for you.
* **Authentication settings:** Manage sign-in options for your app.
* **One place for monitoring:** Keep track of security and logs without switching tools.
* **Connections to other tools:** Connect external tools later for advanced control.

## Creating and using databases

Bolt creates a database automatically if your project needs one, or if you explicitly ask Bolt to create a database or a database-related feature. You don't need to set anything up manually. For example, if you create a trivia app, Bolt sets up a database to store questions and answers.

### Ask Bolt not to create a database

If you don't want Bolt to provision a database, you can explicitly request that it not do so.

For example, when submitting a prompt, add the instruction: `Don't use a database, I want to use local storage for this app.`

### Use Supabase instead of Bolt database

If you're on a Pro or Teams plan and prefer to use Supabase when creating a new project, you can select it during setup.

There's currently no supported way to migrate an existing Bolt database to Supabase. If you want to use Supabase, you need to choose it when you start a new project.

### Add login and sign-up to your app

Features like user authentication may not be added automatically, but you can prompt Bolt to include sign-up and log-in if your app requires them.

For example: `Create user accounts via email signup and login, then add account sign in/log out buttons in the top right corner of the home page.`

Once your app has a login screen, see [Authentication](/bolt-cloud/database/authentication) to configure settings like email confirmation, password reset, and Google sign-in.

## Key database topics

Most of these topics are sections in your database settings menu, shown below. The others cover related features and troubleshooting.

<Frame>
  <img className="block mx-auto" src="https://res.cloudinary.com/dlq2nawz5/image/upload/f_auto,q_auto/v1779985718/database-settings_nvomoc.png" alt="The Database settings menu in Bolt." />
</Frame>

### Data and files

* [Tables](/bolt-cloud/database/tables): View and manage the rows in your tables. You can add, filter, query, delete, and export row data.
* [File storage](/bolt-cloud/database/file-storage): View your file storage buckets and check which are public or private. This page also lists the file types Bolt supports.
* [User management](/bolt-cloud/database/user-management): View the users who signed up for your app, invite users by email, or add them manually.

### Sign-in and email

* [Authentication](/bolt-cloud/database/authentication): Set up email and Google sign-in, and configure password reset and email templates.
* [Send emails from your app](/bolt-cloud/database/send-emails): Send transactional and authentication emails by connecting an email provider.

### Backend and credentials

* [Server functions](/bolt-cloud/database/server-functions): View your server functions and their logs, and delete the ones you no longer need.
* [Secrets](/bolt-cloud/database/secrets): Manage the keys, passwords, and other credentials that Bolt needs to connect your project to outside services.

### Monitoring and security

* [Logs](/bolt-cloud/database/logs): Monitor and debug your app with logs for server functions, authentication, PostgreSQL, storage, and more.
* [Security Audit](/bolt-cloud/database/security): Check your database for security issues, such as an open permission or a missing RLS policy, and ask Bolt to fix what it finds. This checks your database only, not your whole project.

### Advanced settings and troubleshooting

* [Advanced settings](/bolt-cloud/database/advanced): Restart an unresponsive database, connect to Supabase instead, or claim your database into your own Supabase account.
* [Database issues](/troubleshooting/database-issues): Fix a database that isn't responding.

## Automatically paused databases

In unpublished projects, if your database has low usage for six days or more, Bolt may automatically pause it to conserve resources. In most cases, a few user requests to the database each day is enough activity to keep the database from being paused.

If your database is paused, you’ll see the following message the next time you open your project: `Restoring your paused database. Your Bolt Database is paused due to inactivity and is now being restored. This may take a few minutes.`

This is a routine process. After the database is restored, you can continue building your project.

<Note>
  If you've [published your project](/bolt-cloud/hosting/publish) to a live site, your database won't be paused. Automatic pausing only happens in unpublished projects.
</Note>

## View Bolt Database limits

You can view database-related limits on the Cloud settings page. Your Cloud settings appear in a different location depending on your plan. For individual accounts, **Cloud** is under your Account settings. For Teams accounts, it's under your team's workspace settings.

<Frame>
  <img className="block mx-auto" src="https://res.cloudinary.com/dlq2nawz5/image/upload/f_auto,q_auto/v1779985718/cloud-settings_ica9hb.png" alt="The Cloud settings page in Bolt with the Cloud tab selected in the Teams section." />
</Frame>

To view limits, follow these steps:

1. Click your **profile icon** in the top left of your screen, then click **Settings**.
2. Click **Cloud**.
3. Review the database-related rows in the table.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.