# Secrets

Whenever you want to reference an API key or a secret in the Studio, you can safely add them to your workspace and make them available in the Studio in a safe manner.

In order to add a new secret, navigate to Settings > Secrets and click on "Create Secret".

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-1a251295615112f3866a8b51be1772e069cecc9b%2FScreenshot%202025-04-21%20at%2013.28.07.png?alt=media" alt=""><figcaption></figcaption></figure>

Once added, you will be able to select them in the building by using this syntax:

```
_secrets["my_secret_name"]
```

<figure><img src="https://3762890407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-71af4194e6c084063ed41cce0561dbb49d8a19ef%2FScreenshot%202025-04-21%20at%2013.30.39.png?alt=media" alt=""><figcaption></figcaption></figure>

As an example, if you add a secret named "MY\_SECRET" then you can access it in the builder as:

```
_secrets["MY_SECRET"]
```

For LLM credentials and other third-party integrations, AirOps usually has some native authentications, so before adding a custom secret, ensure that it is not listed in "Settings > Integrations" or "Settings > API providers".
