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

# Project Keys

> Add the service keys and environment variables your app needs

Open **Settings → Keys** when your app needs a key for another service.

To connect an AI client or the Figma plugin to Bilt itself, use [Settings → API Keys](https://bilt.me/docs/quickstart-mcp.md#1-create-an-api-key).

## Add a key

1. Click **Add secret**.
2. Enter the name the service uses, such as `PAYMENT_SERVICE_KEY`.
3. Paste the value and add a description if it helps you recognize it later.
4. Click **Add secret**.

Names must start with an uppercase letter and contain only uppercase letters, numbers, and underscores. You cannot add the same name twice.

If Bilt asks for a key in chat, enter it in the request card's secret field. Keep the value out of ordinary chat messages.

Key changes save immediately and restart the preview.

Only the workspace owner can reveal or change values. Collaborators can see the names and descriptions.

## Keep private keys out of the app

Values that ship inside a mobile or web app can be read by its users. This includes anything starting with `EXPO_PUBLIC_`.

For a private service key, ask Bilt to make the call from a [server automation](https://bilt.me/docs/features/backend/functions.md):

```text theme={null}
Use PAYMENT_SERVICE_KEY on the server to call the payment service.
Keep the private key out of the app.
```

[Restoring an earlier version](https://bilt.me/docs/features/version-history.md) can also change the project's saved keys.


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