> 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/for-your-customers/end-user/connecting-claude.md).

# Connect Claude and other AI clients

Connect Claude, ChatGPT, Cursor or another AI client to your integrations from the widget, with no fastn account.

Everything you can do in the integrations widget (see your connections, run an action against a connected app, check what synced) you can also do from an AI client such as Claude, ChatGPT or Cursor. The client connects over MCP (the Model Context Protocol) and sees your integrations as tools it can use.

You don't need a fastn account. The connection is scoped to your organization only.

## Connect your AI client

{% stepper %}
{% step %}

### Generate a URL in the widget

Open the integrations widget in the product you use. In the widget header, open the **⋯** menu and click **Generate MCP URL**, then **Copy** the URL.
{% endstep %}

{% step %}

### Add it to your AI client as a custom connector

* **Claude:** add a custom connector in Claude's connector settings, give it a name such as *Integrations*, paste the URL, then connect it.
* **Claude Code:** run `claude mcp add --transport http integrations <the URL you copied>`.
* **ChatGPT, Cursor and other clients:** add a custom MCP connector or server and paste the URL.

The exact menus belong to each client and can change; check the client's own help if you can't find where to add a custom connector.
{% endstep %}

{% step %}

### Ask for what you need

Ask in plain words, for example *Which of my integrations failed this week?* or *Run the contact sync for Acme now.* The client calls your integrations as tools.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
The URL is **valid for 10 minutes and works once**. If it expires before you paste it, generate a new one. Once connected, the connection stays until it is disconnected.
{% endhint %}

## "Could not create a link. Try again."

If this message appears when you click **Generate MCP URL**, try once more. If it keeps appearing, the product's widget session may not be tied to you as a person, which the link needs. That is set up on the product's side, so contact the product's support team.

## No "Generate MCP URL" in the menu?

The product you use decides whether to offer it. If it isn't in the **⋯** menu, ask their support team: they can switch it on in their widget settings, or connect the client for you.

## What the connection can and can't do

* **It reaches only your organization's connections.** It can't see any other customer of the same product.
* **It acts as you.** Anything the client calls runs against your connected apps, including changes such as creating or updating records. Review what you ask it to do.
* **It can be turned off.** The provider of the product can disconnect any AI client from their side at any time. To disconnect yours, ask them.

{% hint style="warning" %}
Treat the URL like a password while it is valid: don't paste it into chats, tickets or documents.
{% endhint %}

## What you can do next

* [Extend a pre-built integration](https://docs.fastn.ai/for-your-customers/end-user/extending-a-prebuilt-integration.md): change what an integration does, from inside the widget
* [Get alerted](https://docs.fastn.ai/for-your-customers/end-user/getting-alerted.md): be told when something breaks


---

# 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/for-your-customers/end-user/connecting-claude.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.
