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

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

Share ToneDen with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 14 tools (7 read-only).

---

To give your team ToneDen in Claude, ChatGPT, Cursor and other AI clients, an admin shares the ToneDen integration in a Metorial portal, and each person signs in to ToneDen with their own account. Agents can create, manage, and monitor advertising campaigns on Facebook and Google with unified audience targeting, budgeting, and A/B testing. The integration has 14 tools, 7 read-only and 7 write, plus 4 triggers.

**What you will learn**

- How an admin shares ToneDen in a portal and how each person connects
- The 1 OAuth scope ToneDen can request, and what each one allows
- How to keep the 7 read-only tools and reject the other 7

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with ToneDen 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 method

| Method | Type | What a person provides |
| --- | --- | --- |
| **OAuth** | OAuth | Signs in to ToneDen |

### OAuth

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

| Scope | Name | What it allows |
| --- | --- | --- |
| `full` | Full Access | Full access to the ToneDen API for the authorized artist profile |

## Use your own ToneDen OAuth app

With your own OAuth app, people see your company's name on the ToneDen 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 ToneDen and copy the **Redirect URI**.

2. **Register the app with ToneDen**

   Create an OAuth app or client in ToneDen 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 ToneDen integration.

## Admin: share ToneDen 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 ToneDen. For how members connect, choose **Each person connects**, so everyone signs in to ToneDen as themselves.

3. **Limit the tools**

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

4. **Choose who gets it**

   Add the access groups that should see ToneDen. 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 ToneDen integration. Once it exists, check which groups have it:

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

## Employee: connect ToneDen

### In the portal

1. **Open ToneDen in the catalog**

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

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A ToneDen 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 toneden
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your ToneDen 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 toneden
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 7 read-only tools, such as `list_links` and `get_profile`, and lose the 7 write tools, such as `manage_link` or `update_profile`.

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 toneden
metorial tools <integration-id>
metorial call <integration-id> list_attachments -d '{"attachmentType":"unlock"}'
```

`metorial tools` lists the 14 tools, minus any you rejected. `list_attachments` needs `attachmentType`, so replace the placeholders. It lists all social unlocks or contests for the authenticated user profile.

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

## Tools

### Read-only tools (7)

- `campaign_insights`: Retrieve performance insights for an ad campaign. Needs `campaignId`.
- `link_insights`: Retrieve performance analytics for a FanLink. Needs `linkId`.
- `list_attachments`: List all social unlocks or contests for the authenticated user profile. Needs `attachmentType`.
- `get_profile`: Retrieve the user profile for the authenticated artist or a specific user by ID.
- `list_campaigns`: List all ad campaigns for the authenticated user profile.
- `attachment_insights`: Retrieve performance analytics for a social unlock or contest. Needs `attachmentId`.
- `list_links`: List all smart links (FanLinks) for the authenticated user profile.

### Write tools (7)

- `manage_campaign`: Create, retrieve, update, or delete an ad campaign on Facebook or Google. Needs `action`.
- `manage_user_list`: Create custom user lists for ad targeting, list existing user lists, and add or remove contacts from a list. Needs `action`.
- `upload_offline_conversions`: Upload offline conversion events to track actions that happen outside of digital platforms. Needs `conversions`.
- `manage_attachment`: Create, retrieve, update, or delete a social unlock or contest attachment. **Social Unlocks** gate content (file downloads, coupon codes, URLs, unlisted YouTube videos) behind social actions - every fan who completes the action receives the reward. **Contests** incentivize fans to perform social actions for a chance to win - more actions increase the chance of winning. Needs `action`.
- `update_profile`: Update the user profile for a specific user. Needs `userId`.
- `manage_link`: Create, retrieve, update, or delete a smart link (FanLink). Needs `action`.
- `manage_playbook`: Create, retrieve, update, or delete a playbook campaign. Needs `action`.

## Triggers

ToneDen has 4 triggers, which fire on events in ToneDen:

- `new_attachment`: Triggers when a new social unlock or contest attachment is created.
- `inbound_webhook`
- `campaign_status_change`: Triggers when an ad campaign changes status (e.g., becomes active, paused, error, or inactive).
- `new_link`: Triggers when a new FanLink (smart link) is created.

## 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 ToneDen 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
- [ToneDen on metorial.com](https://metorial.com/integrations/toneden): the integration overview