Skip to main content

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.

Bolt makes it easy to add database functionality to your app without the hassle of extra infrastructure. You get a ready-to-use database whenever your project needs one, helping you focus on building features rather than configuring servers.

Database settings

The Database settings menu in Bolt.
Bolt’s Database Settings include several sections that let you manage your project’s data and related features. Click any item below to learn more about that topic.

Benefits of Bolt Database

Using a Bolt database helps you get more complicated web apps up and running quickly:
  • Unlimited databases: Create as many databases as needed.
  • No manual setup: Skip configuring servers or hosting. Bolt handles it for you.
  • Built-in authentication management: Easily add user sign-up capabilities to your project.
  • One place for monitoring: Keep track of security and logs without switching tools.
  • Future-proof connections: Easily connect external tools later for advanced control.
This setup is ideal for quickly building, testing, and scaling your app.
If you’re new to the concept of databases and their importance in web development, you can learn more in our Introduction to databases article.

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. This makes it easy to get started without manually setting anything up.

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 prefer to use Supabase when creating a new project, you can select it during setup.

Version history and database restores

Bolt’s Version History feature currently does not support database restores.
Restoring to an earlier project version will not change your current databases.

Automatically paused databases

If your project’s Bolt database hasn’t been used for six days or more, it may be automatically paused to conserve resources. When you next open your project, you’ll see a message letting you know that the database is being restored. This process usually only takes a few minutes. This is a normal, routine operation. Please wait for the restoration to finish before making any changes to your project to avoid potential issues.

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 Personal settings. For Teams accounts, it’s under your Team settings.
The Cloud settings page in Bolt with the Cloud tab selected in the Teams section.
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.

How Bolt provisions a database

When you create a project, Bolt can automatically create a database if your app requires one or if you explicitly request it. For example, if you create a trivia app, Bolt will set up a database to store questions and answers. 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.