> ## 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.

# Database: Secrets settings

> View and manage your secrets settings for your database in a Bolt project.

Secrets are used by your server functions (sometimes called edge functions) to safely access sensitive information, like API keys or database passwords, without exposing them to users. When a server function runs, it can securely read the secret and complete its task, such as making a request to an external service. This helps keep your app secure and ensures that private information never ends up in your users’ browsers or devices.

If you're using Claude Agent, you'll automatically be prompted when it is time to add these. For example, if you send a message like "Integrate OpenAI," the agent will complete the coding and then display a message asking you to add your secret, along with a link to the Secrets tab.

## View Secrets settings

To open the Secrets settings for your project's database, follow these steps:

1. Log in to your Bolt project.
2. Click the **database icon** in the top center of your screen.
3. Click **Secrets** in the left menu.

## Manually create secrets

You can manually create secrets by following the steps below:

1. Log in to your Bolt project.
2. Click the **database icon** in the top center of your screen.
3. Click **Secrets** in the left menu.
4. Enter a name and a value in their respective fields.
5. Click **Create secret**.

<img src="https://mintcdn.com/stackblitz/Akhg1ig10vOZu5es/images/secrets.png?fit=max&auto=format&n=Akhg1ig10vOZu5es&q=85&s=d0247c90330f7cda08569eec6bcbd009" alt="Secrets" width="2200" height="1120" data-path="images/secrets.png" />

<Tip>
  Alternatively, you can delete secrets by clicking **Delete** in a secret’s row.
</Tip>

## Tips for improved security

* Rotate your keys regularly to reduce risk.
* Remove keys you no longer use.
* Never store secrets in plain text in your code.
