> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/operate/connections.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Connections

The Connections page: your organization's and your customers' signed-in accounts, how to find one, and what each column means.

**Operate → Connections** · [Open in Fastn](https://app.fastn.dev/connections)

A **connection** is one signed-in account on one [connector](https://docs.fastn.ai/build/integrations/connectors.md). It is created when someone on your team or one of your customers authorizes access to an app. Fastn stores the credential encrypted and reuses it on every later call, so nobody has to sign in again. Workflows act through connections.

For example, when Acme, one of your customers, signs in to its HubSpot account through your widget, Fastn creates a connection on the HubSpot connector that belongs to Acme. Your workflows then read and write Acme's HubSpot data through that connection.

The connector is the definition of the app. The connection is a signed-in account on it. One connector can have many connections, for example one for your organization and one for each customer who connects.

{% hint style="info" %}
**Do this from your AI tool.** Fastn recommends connecting your preferred AI agent, such as Claude, Cursor or VS Code, to the [Fastn MCP server](https://docs.fastn.ai/build/building-from-your-ai-agent/mcp-gateway.md) and using its tools to create and manage connections. For example, ask it: *"List the connections that need action and help me fix them."* To connect your AI agent, see [Connect your AI tool](https://docs.fastn.ai/build/building-from-your-ai-agent/mcp-gateway.md#open-the-connect-dialog), or the setup guide for [Claude](https://docs.fastn.ai/build/building-from-your-ai-agent/mcp-gateway/claude.md), [Claude Code](https://docs.fastn.ai/build/building-from-your-ai-agent/mcp-gateway/claude-code.md), [Cursor](https://docs.fastn.ai/build/building-from-your-ai-agent/mcp-gateway/cursor.md), [VS Code](https://docs.fastn.ai/build/building-from-your-ai-agent/mcp-gateway/vscode.md) or [any other MCP client](https://docs.fastn.ai/build/building-from-your-ai-agent/mcp-gateway.md#how-your-ai-tool-connects).
{% endhint %}

### How connections work

* **Owner:** A connection belongs either to your organization (made by someone on your team) or to one of your customers (made through your embedded widget). This page shows the two in separate views.
* **Status:** Each connection is `Active`, `Inactive`, `Expired` or `Failed`, which tells you whether it still works. See [Statuses](https://docs.fastn.ai/operate/connections/statuses.md).
* **Token refresh:** For OAuth connections, Fastn refreshes the access token before it runs out.
* **Connection ID:** Each connection has an ID that you pass to the API to act as that account. See [Inside a connection](https://docs.fastn.ai/operate/connections/inside-a-connection.md#connection).
* **Repair and removal:** **Reconnect** signs in again to repair a broken connection, **Rename** changes its name, and **Disconnect** stops all syncing and deletes the credential. See [Inside a connection](https://docs.fastn.ai/operate/connections/inside-a-connection.md).

### My organization and Customers

The toggle at the top switches between two views.

<figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-4e3370843f5a220756f43d4bb38bfebd98f89444%2Fconnections-customers-empty.webp?alt=media" alt="Operate, Connections, Customers tab with no connections yet: search, an All customers filter, status chips All, Active, Inactive, Expired, Failed and Needs action, and the message No customer connections yet with View your own connections"><figcaption><p>The <strong>Customers</strong> tab before any customer has connected an app.</p></figcaption></figure>

| View                | Shows                                                                      | Page subtitle                                                                        |
| ------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| **My organization** | Connections your team made.                                                | *Connections your organization holds on its connectors. Workflows act through them.* |
| **Customers**       | Connections your customers made through the widget, across every customer. | *Connections your customers have made on your connectors, across every customer.*    |

The **Customers** view adds an **All customers** selector to show one customer's connections, and a **Customer** column in the table.

### Find a connection

* **Search connections:** matches the connector and connection name. In the **Customers** view the box reads **Search by customer, connector or name** and also matches customer names.
* **Status chips:** **All**, **Active**, **Inactive**, **Expired**, **Failed** and **Needs action** show only the connections in that state. See [Statuses](https://docs.fastn.ai/operate/connections/statuses.md#find-connections-by-status) for what **Needs action** collects.
* **Count:** the number on the right shows how many connections match, for example *5 connections*.

If connections exist but none match, the page reads *No connections match* · *Adjust the filter, or pick the other view.* When there are no connections at all, the **My organization** view reads *No connections yet* with a button to connect one, and the **Customers** view reads *No customer connections yet* and explains that customers connect their own apps through the widget you embed.

### The table

| Column        | Meaning                                                                                                                                                                                             |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connector** | The app, with the connection's name underneath (`Default` unless it was named).                                                                                                                     |
| **Customer**  | Only in the **Customers** view: the customer the connection belongs to.                                                                                                                             |
| **Auth**      | The auth type the connection was made with, as a display label: for example **OAuth 2.0**, **Bearer token**, **Custom**. See [Auth types](https://docs.fastn.ai/operate/connections/auth-types.md). |
| **Status**    | `Active`, `Inactive`, `Expired` or `Failed`. See [Statuses](https://docs.fastn.ai/operate/connections/statuses.md).                                                                                 |
| **Created**   | When the connection was made.                                                                                                                                                                       |
| **⋯**         | **Reconnect**, **Set as default** (on an active connection that is not already the default), **Rename**, and **Disconnect**.                                                                        |

Select a row to open its detail page. See [Inside a connection](https://docs.fastn.ai/operate/connections/inside-a-connection.md).

**New connection** (top right) connects a new app for your organization. See [Create a connection](https://docs.fastn.ai/operate/connections/creating-a-connection.md).

### In this section

* [Create a connection](https://docs.fastn.ai/operate/connections/creating-a-connection.md): connect an app for your organization with **New connection**.
* [Inside a connection](https://docs.fastn.ai/operate/connections/inside-a-connection.md): the detail page, the connection ID, **Reconnect** and **Disconnect**.
* [Statuses](https://docs.fastn.ai/operate/connections/statuses.md): what each status means and what to do about it.
* [Auth types](https://docs.fastn.ai/operate/connections/auth-types.md): the values in the **Auth** column.


---

# 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://docs.fastn.ai/operate/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.
