> 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/build/integrations/connectors.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Connectors

What a connector is, how it relates to actions, auth methods, connections, and webhooks, and where each part lives in the app.

**Build → Integrations → Connectors** · [Open in Fastn](https://app.fastn.dev/integrations)

A **connector** is the definition of one external app's API, such as HubSpot, Jira or Stripe. It covers the app's actions, its auth methods (how users sign in to it) and its webhook events. Workflows, the Fastn agent and your AI tool use connectors to read from and write to apps.

For example, the HubSpot connector knows how to call *Create Contact* and *List Owners*, and that people sign in to HubSpot with OAuth 2.0. It doesn't know anyone's HubSpot account. The page describes it in one line:

> A connector is fastn's bridge to one app: it handles sign-in and exposes the app's actions and events. Sign in to one to create a connection.

{% 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 update connectors. For example, ask it: *"Create a connector for the Acme CRM API from its OpenAPI spec."* 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 %}

### Connector versus connection

A connector holds no credentials. Credentials live on a [connection](https://docs.fastn.ai/operate/connections.md), which is created when someone signs in to the connector.

* **Connector:** the definition: this API, these actions, these auth methods, this webhook config. One per app. You manage it on **Build → Integrations → Connectors**.
* **Connection:** one signed-in account on that connector, for your organization or for one customer. One connector can have many connections. You manage them on **Operate → Connections** · [Open in Fastn](https://app.fastn.dev/connections).

### The parts of a connector

| Part               | What it is                                                                                                                                                                        | Where you see it                                                                                                                                                     |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Actions**        | One operation the app can perform, such as *Create Contact* or *List Owners*. Each action is an HTTP request with an input schema and an output schema.                           | The action list on the connector's detail page. See [Actions](https://docs.fastn.ai/build/integrations/connectors/action-detail.md).                                 |
| **Auth methods**   | How a customer proves who they are to the app, such as OAuth 2.0, API key, bearer token, or basic auth. A connector can offer several; one is the default.                        | The **Auth** tab. See [Auth methods and providers](https://docs.fastn.ai/build/integrations/connectors/auth-methods.md).                                             |
| **Auth providers** | For OAuth methods, the OAuth app (client ID and secret) that Fastn uses to send people to the app's consent screen.                                                               | **Auth → Manage providers**. See [Auth providers](https://docs.fastn.ai/build/integrations/connectors/auth-methods.md#auth-providers).                               |
| **Webhook config** | Instructions for subscribing to the app's events on behalf of each customer, so an [app event trigger](https://docs.fastn.ai/build/integrations/triggers/app-events.md) can fire. | The **Webhook config** tab. See [Webhook config](https://docs.fastn.ai/build/integrations/connectors/webhook-config.md).                                             |
| **Versions**       | Every change to a connector produces a version. Versions live in **Test** until they are published to **Live**.                                                                   | **Overview → Versions**, and the **Version pins** tab. See [Inside a connector](https://docs.fastn.ai/build/integrations/connectors/inside-a-connector.md#versions). |
| **Connections**    | Signed-in accounts that use this connector.                                                                                                                                       | The **Connections** tab, and the workspace-wide [Connections](https://docs.fastn.ai/operate/connections.md) page.                                                    |

### Managed and custom connectors

Every connector is one of two kinds, shown as a badge on its card:

* **managed:** built and maintained by Fastn. The card reads *Managed by Fastn*. You can view every part of it, connect to it, export its actions, and run them, but you cannot edit, delete, or publish it. To suggest a change to one of its actions, use [Propose an update](https://docs.fastn.ai/build/integrations/connectors/action-detail.md#platform-owned-actions-and-propose-an-update). Fastn reviews it, and vendor changes reach you as proposals under [Pending updates](https://docs.fastn.ai/operate/health/connector-updates.md) · [Open in Fastn](https://app.fastn.dev/health?tab=updates).
* **Custom:** created in your workspace, from scratch, with AI or from a file. See [Create a connector](https://docs.fastn.ai/build/integrations/connectors/creating-a-connector.md). Your workspace owns it, so you can edit it, add actions, set up its webhook config, publish versions, and delete it. See [Edit, publish, and delete](https://docs.fastn.ai/build/integrations/connectors/editing-and-deleting.md).

Once a connector has connections, the badge shows their state instead. See [What a card shows](https://docs.fastn.ai/build/integrations/connectors/the-catalogue.md#what-a-card-shows).

### Per-customer versus platform-wide connectors

Inside a workflow, each connector is wired one of two ways.

| Mode              | Credential used                                                             | Use for                                        |
| ----------------- | --------------------------------------------------------------------------- | ---------------------------------------------- |
| **Per customer**  | The connection belonging to the running customer                            | Anything touching customer data                |
| **Platform-wide** | A single connection owned by your organization, shared across the workspace | Your own apps: your Slack, your data warehouse |

Both modes are labeled in the UI: the workflow's Connectors tab shows a **Per customer** or **Platform-wide** badge on each connector. On the connection side, a connection that belongs to your organization rather than to one customer shows `Scope: Account level` on its detail page.

### How the pieces work together

{% stepper %}
{% step %}

#### Pick or build a connector

Find the app in the [catalog](https://docs.fastn.ai/build/integrations/connectors/the-catalogue.md). If it is not there, [request it](https://docs.fastn.ai/build/integrations/connectors/creating-a-connector.md#request-a-connector) or [create it](https://docs.fastn.ai/build/integrations/connectors/creating-a-connector.md).
{% endstep %}

{% step %}

#### Connect

**Connect** opens a dialog that asks for the credential the default auth method needs (an API key, or an OAuth sign-in). The result is a connection. This signs in your own account; your customers sign in their own accounts through the widget. See [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).
{% endstep %}

{% step %}

#### Use the actions

Workflows, the Fastn agent, and your AI tool (over MCP) call the connector's actions through that connection. The connection decides whose account the call runs as.
{% endstep %}

{% step %}

#### Receive events (optional)

If the connector has a webhook config, Fastn runs its subscription code for each new connection, so that events from that account reach Fastn and an app event trigger can start a workflow.
{% endstep %}
{% endstepper %}

### In this section

* [Configure a connector](https://docs.fastn.ai/build/integrations/connectors/configuring-a-connector.md): create a connector, set up its auth and connect to it, step by step.
* [The catalog](https://docs.fastn.ai/build/integrations/connectors/the-catalogue.md): searching, filtering, and reading the connector cards.
* [Create a connector](https://docs.fastn.ai/build/integrations/connectors/creating-a-connector.md): the ways to create one, the Create a connector dialog, and Request connector.
* [Inside a connector](https://docs.fastn.ai/build/integrations/connectors/inside-a-connector.md): the detail page, its Overview, Connections, and Version pins tabs, and versions.
* [Auth methods and providers](https://docs.fastn.ai/build/integrations/connectors/auth-methods.md): the Auth tab and the OAuth apps behind it.
* [Actions](https://docs.fastn.ai/build/integrations/connectors/action-detail.md): the action list and the action editor with its seven tabs.
* [Webhook config](https://docs.fastn.ai/build/integrations/connectors/webhook-config.md): how Fastn subscribes to an app's events.
* [Edit, publish, and delete](https://docs.fastn.ai/build/integrations/connectors/editing-and-deleting.md): what you can change on a connector your workspace owns.
* [Import and export](https://docs.fastn.ai/build/integrations/connectors/importing-and-exporting.md): moving connectors and actions in and out as JSON.
* [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md): making a connection, step by step.


---

# 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/build/integrations/connectors.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.
