# Connections

The **Connections** option in ZBrain Flows enables you to integrate and manage external applications and services, allowing them to be reused across **Flows, apps** and **Agents**. By establishing these integrations once, you streamline automation workflows, with already created credential details, and reduce repetitive setup tasks for each use case.

### Accessing connections <a href="#accessing-connections" id="accessing-connections"></a>

To access Connections, click “**Flows”** and then click “**Connections”** on the left panel.

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

From this screen, you can:

* View a list of all existing connections
* Add new connections to available enterprise systems
* Replace, rename or remove existing connections
* Check the connection status in real time

### **Key components in the Connections list** <a href="#key-components-in-the-connections-list" id="key-components-in-the-connections-list"></a>

The **Connections** table displays the following columns:

| Column                 | Description                                                                             |
| ---------------------- | --------------------------------------------------------------------------------------- |
| **App**                | Displays the application or service name (e.g., Google Drive, Google Docs, Salesforce). |
| **Connection Name**    | User-defined or system-generated name for the connection.                               |
| **Last Updated**       | Date and time when the connection credentials were last updated or refreshed.           |
| **Status**             | Indicates if the connection is active (✔) or requires attention.                        |
| **Actions Menu** (`⋯`) | Options to replace, rename, or remove the connection.                                   |

### **Adding a new connection** <a href="#adding-a-new-connection" id="adding-a-new-connection"></a>

1. Click **'Add Connection'** in the top right corner.
2. Search or browse the list of supported systems (e.g., Google Docs, Google Drive, Google Sheets, Google Calendar, Salesforce).

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

3. Select the desired application.
4. Enter a **Connection Name** (for easy identification in Flows/Agents).
5. Authenticate by following the app-specific sign-in or authorization process.
6. Save the connection.

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

Once added, the connection appears in the **Connections** list and can be used in any Flow or Agent without reconfiguration.

### **Editing an existing connection** <a href="#editing-an-existing-connection" id="editing-an-existing-connection"></a>

* Click the (`...`) next to the connection.
* Update the connection name (rename) or reauthenticate credentials (replace) if the status indicates an error. Alternatively, delete the connection if it is no longer needed.
* Save changes to keep the connection active and up to date.

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


---

# 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.zbrain.ai/zbrain-documentation/zbrain-builder/flows/connections.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.
