> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Drift in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/drift
Last updated: 2026-11-24

Share Drift with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or personal access token sign-in, 19 tools (11 read-only).

---

To give your team Drift in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Drift integration in a Metorial portal, and each person signs in to Drift with their own account. Agents can manage contacts, conversations, and messaging for conversational marketing and sales. The integration has 19 tools, 11 read-only, 6 write and 2 destructive, plus 5 triggers.

**What you will learn**

- How an admin shares Drift in a portal and how each person connects
- The 9 OAuth scopes Drift can request, and what each one allows
- How to keep the 11 read-only tools and reject the other 8

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Drift for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **OAuth** (default) | OAuth | Signs in to Drift |
| **Personal Access Token** | API token | `token` |

The portal and `metorial setup` use **OAuth** unless someone picks another method.

### OAuth

People sign in to Drift and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `contact_read` | Contact Read | Listen to changes to contacts and query contacts |
| `all_contact_read` | All Contact Read | Read contact metadata such as custom attributes |
| `contact_write` | Contact Write | Create and update contacts |
| `conversation_read` | Conversation Read | Query conversations and messages |
| `conversation_write` | Conversation Write | Create messages via a bot |
| `user_read` | User Read | Read user data |
| `user_write` | User Write | Modify user data |
| `gdpr_read` | GDPR Read | Perform data retrieval requests |
| `gdpr_write` | GDPR Write | Perform data deletion requests |

### Personal Access Token

To connect, a person enters:

- `token`: Personal access token from Drift

## Use your own Drift OAuth app

With your own OAuth app, people see your company's name on the Drift consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Drift and copy the **Redirect URI**.

2. **Register the app with Drift**

   Create an OAuth app or client in Drift and add the redirect URI from Metorial as its redirect or callback URL.

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Drift integration.

## Admin: share Drift in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Drift. Under **Auth Method**, keep **OAuth** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Drift as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Drift.

4. **Choose who gets it**

   Add the access groups that should see Drift. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Drift integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search drift
```

## Employee: connect Drift

### In the portal

1. **Open Drift in the catalog**

   Sign in to your portal and open Drift. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Drift sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search drift
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth**. To connect with **Personal Access Token** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Drift connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list drift
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 11 read-only tools, such as `list_teams` and `list_users`, and lose the 6 write tools, such as `send_message` or `create_contact`, and the 2 destructive tools, such as `delete_contact` or `update_user_availability`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list drift
metorial tools <integration-id>
metorial call <integration-id> list_playbooks -d '{}'
```

`metorial tools` lists the 19 tools, minus any you rejected. `list_playbooks` takes no input. It lists active playbooks in Drift.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (11)

- `list_conversations`: List conversations in Drift with optional status filtering and pagination.
- `list_teams`: List all teams in the Drift organization, or list teams for a specific user.
- `list_playbooks`: List active playbooks in Drift.
- `get_conversation`: Retrieve detailed information about a specific Drift conversation, including participants, tags, status, and related playbook. Needs `conversationId`.
- `list_users`: List all users (agents) in the Drift organization.
- `get_contact`: Retrieve a Drift contact by their ID or email address.
- `get_booked_meetings`: Retrieve booked meetings from Drift within a time range. Needs `minStartTime` and `maxStartTime`.
- `get_token_info`: Inspect Drift metadata for the current access token, including organization ID, scopes, app credential ID, and expiration metadata.
- `get_conversation_transcript`: Export a Drift conversation transcript as a Slate attachment. Needs `conversationId`.
- `list_custom_attributes`: List custom contact attributes configured in Drift.
- `get_conversation_stats`: Get Drift conversation counts grouped by status for the connected organization.

### Write tools (6)

- `create_conversation`: Start a new conversation in Drift with a contact. Needs `email` and `body`.
- `manage_account`: Create, retrieve, update, or delete an account in Drift. Needs `action`.
- `send_message`: Send a message in an existing Drift conversation. Needs `conversationId` and `type`.
- `create_contact`: Create a new contact in Drift. Needs `email`.
- `update_contact`: Update an existing Drift contact's attributes. Needs `contactId`.
- `post_timeline_event`: Post an external activity event to a Drift contact timeline. Needs `event`.

### Destructive tools (2)

- `delete_contact`: Permanently delete a contact from Drift by their contact ID. Needs `contactId`.
- `update_user_availability`: Update a Drift user's availability. Needs `userId` and `availability`.

## Triggers

Drift has 5 triggers, which fire on events in Drift:

- `playbook_goal_met`: Triggers when a previously identified contact meets a goal within a Drift playbook.
- `conversation_event`: Triggers on conversation events including new conversations, new messages, conversation pushes, participant changes, button clicks, and inactivity.
- `meeting_event`: Triggers when a meeting is booked, rescheduled, or canceled in Drift.
- `user_event`: Triggers on user events including availability changes and email unsubscriptions.
- `contact_event`: Triggers on contact events including contact identification, contact updates, and phone number capture.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Drift there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Drift on metorial.com](https://metorial.com/integrations/drift): the integration overview