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

# Welcome to fastn

fastn lets your product offer integrations with the apps your customers use. You build each integration once, embed it in your product, and fastn runs it for every customer.

fastn lets your product offer integrations with the apps your customers use, such as HubSpot, Salesforce, and Slack. You build each integration once. Each customer then connects their own accounts from inside your product, and fastn runs the integration for them, scoped to that customer.

## Get started

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Build your first integration</strong></td><td>For your team. Describe an integration to an AI agent, then test it. No code needed.</td><td><a href="https://docs.fastn.ai/get-started/quickstart.md">Quickstart: your first integration</a></td></tr><tr><td><strong>Embed fastn in your product</strong></td><td>For developers. Mint a token from your backend and render the widget.</td><td><a href="https://docs.fastn.ai/embed/embedding/embedding-quickstart.md">Embedding quickstart</a></td></tr><tr><td><strong>Using integrations in a product?</strong></td><td>For customers of a product that uses fastn. Connect your apps and manage your integrations.</td><td><a href="https://docs.fastn.ai/for-your-customers/end-user.md">Using integrations in the widget</a></td></tr></tbody></table>

{% hint style="success" %}
**Try it in five minutes, on the free plan.** Sign up at [app.fastn.dev](https://app.fastn.dev), click **Connect your AI tool** in the top bar, and ask Claude or Cursor: *"Using fastn, when a new contact is created in HubSpot, post their name and email in our #sales Slack channel."* Then run its test, fully mocked, so no real data is touched. Step by step: [Quickstart](https://docs.fastn.ai/get-started/quickstart.md).
{% endhint %}

## The parts

fastn has four parts:

| Part              | What it does                                                                                                                                                                                                           | Who uses it                                                  |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| **Dashboard**     | The web app at app.fastn.dev where your team builds integrations, sets up the widget, and watches every run                                                                                                            | Your team: the people who set up and run integrations        |
| **Widget**        | The panel inside your product where a customer connects apps and turns integrations on                                                                                                                                 | Your customers                                               |
| **API and SDK**   | Register customers, mint embed tokens, run workflows, and read data from your backend                                                                                                                                  | Your developers                                              |
| **fastn Connect** | The MCP gateway for integrations, built for AI agents. One URL gives an agent the connected apps as tools. Every call is checked against your policies, logged, and runs with the right customer's or person's account | Your AI agents, including agents that act for your customers |

## How it works

<figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-3302ea8e5a015cbdd84356828299a0273917db17%2Ffastn-build-once-use-everywhere.svg?alt=media" alt="Build once, extend per customer, use everywhere. You build an integration once in the fastn dashboard, from your AI tool through the fastn MCP server, or with the fastn agent. Each customer uses it as is or extends it, and their changes stay with that customer. Your product uses it through the widget and API, and your AI agents through the MCP gateway. fastn runs and maintains it against each customer&#x27;s apps."><figcaption><p>Build once, extend per customer, use everywhere</p></figcaption></figure>

* **Build once.** Build an integration in the dashboard, from your AI tool through the fastn MCP server, or by describing it to the fastn agent. *Benefit:* one build serves every customer, so adding a customer adds no integration work.
* **Extend per customer.** Each customer uses the integration as is, or extends it in the widget: add fields, filter records, change direction, or ask the widget assistant. A customer's changes apply only to that customer. *Benefit:* customers handle their own variations without a fork or a support ticket, and no change can break another customer.
* **Use everywhere.** The same integration runs in your product, through the widget and the API, and for your AI agents, through fastn Connect, the MCP gateway. *Benefit:* your product and your agents share one set of integrations, credentials, and logs instead of two.
* **Runs and maintains.** fastn runs every call with that customer's setup, logs it, and sends alerts. When an app's API changes, the maintainer agent proposes a fix, and it applies to every customer once you accept it. *Benefit:* you don't run integration infrastructure, and an API change is one review instead of one fix per customer.

## What fastn runs for you

Each row is something fastn does that you would otherwise build and run yourself.

| Differentiator                  | What fastn does                                                                                                                                                                                                                                                                     | What it saves you                                                                                          |
| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| **Sign-in and credentials**     | The widget runs each app's own OAuth or API-key sign-in. fastn stores every credential encrypted, scoped to one customer, and renews OAuth tokens.                                                                                                                                  | Building an OAuth flow per app, a credential store, and token refresh.                                     |
| **Customer isolation**          | Your backend mints a short-lived embed token for one customer. The widget, API calls, and runs see only that customer's connections and data.                                                                                                                                       | Building customer separation into every integration, and the risk of one customer's data reaching another. |
| **Connector catalog**           | Over 1,000 connectors, each with its actions, auth methods, and webhooks, plus unified APIs that read and write the same object (a contact, a ticket) across every app of a kind.                                                                                                   | Writing and maintaining a client for each app's API, and a separate code path per CRM or helpdesk.         |
| **Building from a description** | Describe an integration to the fastn agent (Scale or Enterprise) or to your own AI tool through the fastn MCP server (every plan), and it picks the connectors, writes the workflow, and tests it.                                                                                  | Hand-writing each workflow, and the developer time each new integration request takes.                     |
| **Per-customer customization**  | Customers change field mappings, filters, and sync direction in the widget, or ask the widget assistant. Changes apply only to that customer.                                                                                                                                       | Custom builds and forks for individual customers.                                                          |
| **Running workflows**           | Workflows run on a webhook, a schedule, or an app event, synchronously for up to 25 seconds or in the background for long jobs. fastn handles each app's rate limits, retries transient failures with backoff, and holds deliveries that run out of retries in a dead-letter queue. | Queues, workers, schedulers, retry logic, and rate-limit handling.                                         |
| **Monitoring**                  | Every event, run, and call to an app is logged per customer. **Health** shows what needs attention, and alerts go out by email, Slack, Microsoft Teams, or webhook.                                                                                                                 | Building logging, dashboards, and alerting per integration, and finding which customer a failure hit.      |
| **API changes**                 | The maintainer agent watches the apps you use. When a vendor changes something your workflows depend on, it proposes a patch in **Health → Pending updates**. Nothing is applied until you accept it.                                                                               | Tracking every vendor's changelog, and fixing breakages after customers report them.                       |
| **AI agent access**             | fastn Connect, the MCP gateway, gives your AI agents one customer's connected apps as tools. Every call is checked against your policies, logged, and runs with that customer's account.                                                                                            | A separate auth and tool layer for your agents, and agents holding raw customer credentials.               |

## Learn more

* [Core concepts](https://docs.fastn.ai/get-started/concepts.md): customers, connectors, connections, workflows, and triggers.
* [Architecture](https://docs.fastn.ai/get-started/architecture.md): how the parts fit together and how a request flows.
* [Authentication and API keys](https://docs.fastn.ai/get-started/authentication-and-api-keys.md): test and live keys, and how your backend calls fastn.
* [REST API reference](https://docs.fastn.ai/reference/api/rest.md) and [SDK](https://docs.fastn.ai/reference/sdk.md): every endpoint and method.
* [FAQs](https://docs.fastn.ai/reference/faqs.md) and [Glossary](https://docs.fastn.ai/reference/glossary.md).


---

# 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/get-started/readme.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.
