# 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="/files/4S8SRyGigvjDLBNwKwFG" alt=""><figcaption></figcaption></figure>

### Step 3

Add Variable Name for the API and the API key&#x20;

<figure><img src="/files/TsBrlrsxTH8CKk1z2R7J" alt=""><figcaption></figcaption></figure>

### Step 4

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

<figure><img src="/files/hMnXxvJkjNGn8zJ7qslt" 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>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gooey.ai/help-desk/how-to-use-workspaces/how-to-add-secrets-in-your-workspace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
