> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incident.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Fivetran

> Check Fivetran connection syncs, and why they failed, from an investigation.

Connect Fivetran as a [connector](https://docs.incident.io/nexus/extensions/connectors.md) to let incident.io's agents check connections, destinations and their syncs, so an investigation can see whether a failed or late sync is behind missing data.

Fivetran offers two ways in:

* **[MCP server](#connect-the-mcp-server)** Recommended: Fivetran maintains the tools, and you sign in with OAuth.
* **[HTTP API](#connect-the-http-api)**: Fivetran's REST API, for when you want to choose exactly which operations agents can call, or to connect with an API key.

**What you'll need:**

* A Fivetran account with access to the connections agents should check.
* The **Manage Nexus sources** permission in incident.io.

## Connect the MCP server

Fivetran's [MCP server](https://fivetran.com/docs/mcp-server) is in public preview, and is off until an account administrator turns it on. It signs in with OAuth only, so calls run with the access of the Fivetran user who connects it.

1. In Fivetran, an account administrator goes to **Account Settings > General**, and turns on the server in the **Model Context Protocol (MCP)** section of the **Account Settings** tab.
2. In **Select MCP Scope**, they choose **Read-only** to keep agents to tools that only read, and click **Save MCP scope**. The scope applies to the whole account.
3. From [Extensions](https://app.incident.io/~/nexus/extensions), add a connector and choose **MCP server**.
4. Leave network access as **Public internet**, and give the connector a display name such as `Fivetran`.
5. Enter `https://api.fivetran.com/mcp` as the server URL, and click **Check URL**.
6. Under **Authentication**, choose **OAuth**, click **Connect with OAuth** and sign in to Fivetran.
7. Review which tools are enabled and the connector's [default policy](https://docs.incident.io/nexus/extensions/connectors.md#default-policy), then save.

## Connect the HTTP API

### Create an API key

Fivetran recommends a [service account API key](https://fivetran.com/docs/getting-started/fivetran-dashboard/user-management/service-account-api-keys), so the key isn't tied to a person. It needs an account administrator, or a user with the **Security Manage** permission.

1. In Fivetran, go to **Users & Permissions**, open the **API Key** tab, and click **+ Add API key**.
2. Select a service user, or add one, set a key expiration, and click **Generate API Key**.
3. Copy the API key and API secret. They're only shown once.
4. Give the service user a read-only role, such as **Account Reviewer**, from **Actions > View & Edit permissions**.

You can also use a personal API key from your username, under **API Key**. It has the access of your own role.

### Connect it in incident.io

1. From [Extensions](https://app.incident.io/~/nexus/extensions), add a connector and choose **HTTP API**.
2. Paste Fivetran's [OpenAPI document](https://fivetran.com/assets-docs/openapi/file_v1.json). It describes the whole API, so you may want to trim it to the operations agents need.
3. Enter `https://api.fivetran.com` as the base URL.
4. Under authentication, choose **Basic authentication**, with the API key as the username and the API secret as the password.
5. Test the connection, review which operations are enabled and the connector's [default policy](https://docs.incident.io/nexus/extensions/connectors.md#default-policy), then save.

See [Connectors](https://docs.incident.io/nexus/extensions/connectors.md#permissions) for how to control which tools agents can call, and from where.

## Pair it with a skill

Agents work best with a connector when it's paired with a [skill](https://docs.incident.io/nexus/extensions/plugins.md). For Fivetran, say which connections load which tables, how often each should sync, and which downstream jobs or dashboards depend on them.
