> For the complete documentation index, see [llms.txt](https://academy.any2info.com/any2info-academy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.any2info.com/any2info-academy/no-code-platform/ai-studio/agents/connections.md).

# Connections

Before an AI agent can be used, a connection to an AI provider must be configured.\
Connections are managed centrally and can be reused by multiple agents.

<figure><img src="https://870194474-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_kE41Rl4pOtwKfvvQq%2Fuploads%2FPFWjeRinjqOc7DDGZK5d%2Fimage.png?alt=media&amp;token=09a83f65-399a-4ec6-9990-d4f1b15b212f" alt=""><figcaption></figcaption></figure>

#### Steps

* Navigate to **Data Studio → Connections**
* Click **Add Connection**
* Configure the connection as follows:

#### General settings

| Field     | Description                                                                                                                      |
| --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| **Name**  | A descriptive name for the connection (e.g. `openai-api-key`).                                                                   |
| **Level** | Determines the scope of the connection. Use **Collection** to make the connection available to all agents within the collection. |
| **Type**  | Select **API headers**.                                                                                                          |

#### Setting secret values

After creating the connection, the actual secret values (such as API keys) must be set separately.

This separation ensures that sensitive information is stored securely and is not visible in the connection definitions.

**Steps**

1. Navigate to **Data Studio → Connections**
2. Locate the created connection
3. Click the **three-dot menu** next to the connection
4. Select **Set values**

A dialog will open showing the configured headers, where the secret values can be entered.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.any2info.com/any2info-academy/no-code-platform/ai-studio/agents/connections.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
