> For the complete documentation index, see [llms.txt](https://docs.gooey.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gooey.ai/help-desk/how-to-use-workspaces/how-to-add-secrets-in-your-workspace.md).

# How to add SECRETS in your Workspace?

### Step 1

Go to the [API tab in the Account Page](https://gooey.ai/account/api-keys/)

### Step 2

Scroll down to the "Secrets" Section

<figure><img src="https://662560811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5BFP5RUm6rTLXk8wUSTf%2Fuploads%2FB8B87lB4fc69mbk2NmJE%2FScreenshot%202025-01-06%20at%201.26.57%E2%80%AFPM.png?alt=media&amp;token=2c4b9f25-c9b6-44d0-8910-28a9f6804cbc" alt=""><figcaption></figcaption></figure>

### Step 3

Add Variable Name for the API and the API key

<figure><img src="https://662560811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5BFP5RUm6rTLXk8wUSTf%2Fuploads%2Fd5q6SXSNX2LRoJXOZwwm%2FScreenshot%202025-01-06%20at%201.30.12%E2%80%AFPM.png?alt=media&amp;token=45404245-9d7c-45d3-9d25-083451e13500" alt=""><figcaption></figcaption></figure>

### Step 4

Access API key as a variable in the [Functions Workflow](https://gooey.ai/functions)

<figure><img src="https://662560811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5BFP5RUm6rTLXk8wUSTf%2Fuploads%2FiKllMe0F5fBDoEiTxaQv%2FScreenshot%202025-01-06%20at%201.34.19%E2%80%AFPM.png?alt=media&amp;token=d70eb211-b563-4c1c-9f0e-28b9345dbdd2" alt=""><figcaption></figcaption></figure>

READ MORE ABOUT USE SECRETS in FUNCTIONS here:

{% embed url="<https://docs.gooey.ai/guides/how-to-use-gooey-functions/how-to-use-secrets-in-functions>" %}
