> 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/~/revisions/m0hEPQFsdMhQVmegKM0n/reference/connectors.md).

# Connectors

### Built-in connectors

| Connector      | Category      | Auth type |
| -------------- | ------------- | --------- |
| **Shopify**    | E-commerce    | OAuth 2.0 |
| **Stripe**     | Payments      | API Key   |
| **Xero**       | Accounting    | OAuth 2.0 |
| **QuickBooks** | Accounting    | OAuth 2.0 |
| **Cin7 Core**  | Inventory     | API Key   |
| **Cin7 Omni**  | Fulfillment   | API Key   |
| **GitHub**     | Development   | OAuth 2.0 |
| **Slack**      | Communication | OAuth 2.0 |
| **HubSpot**    | CRM           | OAuth 2.0 |
| **Email**      | Communication | Custom    |
| **HTTP**       | Generic       | Custom    |
| **OpenAI**     | AI/ML         | API Key   |

### Auth methods (6 types)

| Method           | Description                                                                        |
| ---------------- | ---------------------------------------------------------------------------------- |
| **No Auth**      | No authentication required. For public APIs.                                       |
| **Basic Auth**   | Username/password pair encoded as Base64 in Authorization header.                  |
| **Bearer Token** | Token sent in Authorization header as `Bearer {token}`.                            |
| **API Key**      | Key sent in a configurable header (e.g., `X-API-Key`).                             |
| **OAuth 2.0**    | User authorizes via app's login screen. Fastn manages token refresh automatically. |
| **Custom**       | Custom handler for proprietary auth flows.                                         |

Multiple auth methods can be added to one connector. One is set as default.

#### Fastn-managed OAuth Apps

For supported platforms, Fastn manages OAuth on your behalf (**Settings → OAuth Apps**). You can authenticate connectors without creating your own OAuth application in the third-party's developer portal.

### Create Connector dialog

Fields when clicking **+ Create** on the Connectors page:

| Field            | Required | Description                                      |
| ---------------- | -------- | ------------------------------------------------ |
| **Name**         | Yes      | Display name (e.g., "Salesforce")                |
| **Slug**         | Auto     | URL-safe identifier, auto-generated from name    |
| **Description**  | No       | What the connector does                          |
| **Domain**       | No       | The app's domain (e.g., "salesforce.com")        |
| **Visibility**   | Yes      | Private or Public                                |
| **Icon URL**     | No       | URL to the app's icon/logo                       |
| **Auth Methods** | Yes      | Select from dropdown, click "+ Add" for multiple |

### Connections

A **connection** is an authenticated instance of a connector with stored credentials.

|               | Connector                                      | Connection                              |
| ------------- | ---------------------------------------------- | --------------------------------------- |
| What it is    | Integration definition (auth, actions, events) | Authenticated instance with credentials |
| How many      | One per app                                    | Many — per user/customer                |
| Where managed | Integrations → Connectors                      | Integrations → Connections              |
| Created by    | You (manual or AI)                             | You or your customers (via widget)      |

#### Connector card states

| Element              | Meaning                               |
| -------------------- | ------------------------------------- |
| **PERSONAL** badge   | Created by you, not shared            |
| **Connect** button   | No connection — click to authenticate |
| **+ Add Connection** | Already connected — add another       |
| **Created by: You**  | Shows creator                         |

### Build with AI

Click **"Build with AI"** on the Connectors page to open the **Connector Agent**. Describe what you want to connect and the agent:

1. Researches the API
2. Discovers the spec (OpenAPI/Swagger/Postman)
3. Builds actions and events
4. Tests against real connections
5. Fixes failures automatically

### Capability registry

Each connector declares capabilities:

* **Entities** — data types it works with (contacts, orders, products)
* **Actions** — operations per entity (create, read, update, delete, list)
* **Events** — webhook events per entity (created, updated, deleted)

Used for connector matching, field coverage analysis, and MCP dynamic tool generation.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.fastn.ai/~/revisions/m0hEPQFsdMhQVmegKM0n/reference/connectors.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
