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

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

Share TikTok with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 13 tools (9 read-only).

---

To give your team TikTok in Claude, ChatGPT, Cursor and other AI clients, an admin shares the TikTok integration in a Metorial portal, and each person signs in to TikTok with their own account. Interact with TikTok's consumer and business API ecosystems. The integration has 13 tools, 9 read-only and 4 write, plus 2 triggers.

**What you will learn**

- How an admin shares TikTok in a portal and how each person connects
- How to keep the 9 read-only tools and reject the other 4

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with TikTok 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 |
| --- | --- | --- |
| **TikTok OAuth (Business)** (default) | OAuth | Signs in to TikTok after entering `appId` and `secret` |
| **TikTok OAuth (Consumer)** | OAuth | Signs in to TikTok |

The portal and `metorial setup` use **TikTok OAuth (Business)** unless someone picks another method.

### TikTok OAuth (Business)

Before the sign-in, setup asks for:

- `appId`: TikTok Business App ID
- `secret`: TikTok Business App Secret

People sign in to TikTok and approve the permissions it lists.

### TikTok OAuth (Consumer)

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

| Scope | Name | What it allows |
| --- | --- | --- |
| `user.info.basic` | Basic User Info | Read basic profile info such as avatar, display name, and open ID. |
| `user.info.profile` | User Profile | Read extended profile info such as bio description, verification status, and username. |
| `user.info.stats` | User Stats | Read follower count, following count, likes count, and video count. |
| `video.list` | Video List | Read the list of public videos posted by the user. |
| `video.upload` | Video Upload | Upload video content to TikTok on behalf of the user. |
| `video.publish` | Video Publish | Publish video content to the user's TikTok profile. |

### Setup settings

Whichever method you pick, setup also asks for:

- `apiType` (optional): Which TikTok API ecosystem to use. "consumer" for TikTok for Developers (login, content posting, video display). "business" for TikTok API for Business (advertising, campaign management). One of "consumer", "business".

## Use your own TikTok OAuth app

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

2. **Register the app with TikTok**

   Create an OAuth app or client in TikTok and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in [OAuth documentation](https://developers.tiktok.com/doc/login-kit-web).

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 TikTok integration.

## Admin: share TikTok 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 TikTok. Under **Auth Method**, keep **TikTok OAuth (Business)** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to TikTok as themselves.

3. **Limit the tools**

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

4. **Choose who gets it**

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

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

## Employee: connect TikTok

### In the portal

1. **Open TikTok in the catalog**

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

2. **Authenticate**

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

`catalog search` prints the catalog item ID. `metorial setup` uses **TikTok OAuth (Business)**. To connect with **TikTok OAuth (Consumer)** 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 TikTok 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 tiktok
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 9 read-only tools, such as `get_ads` and `list_videos`, and lose the 4 write tools, such as `post_photo` or `post_video`.

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 tiktok
metorial tools <integration-id>
metorial call <integration-id> get_creator_info -d '{}'
```

`metorial tools` lists the 13 tools, minus any you rejected. `get_creator_info` takes no input. It retrieves the authenticated creator's posting capabilities and constraints.

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

## Tools

### Read-only tools (9)

- `get_user_profile`: Retrieve the authenticated TikTok user's profile information including display name, avatar, bio, verification status, follower/following counts, and video count.
- `get_ad_report`: Pull advertising performance reports from TikTok Ads Manager. Needs `advertiserId`, `dataLevel`, `dimensions`, `metrics`, `startDate` and `endDate`.
- `get_ad_groups`: Retrieve TikTok Ads ad groups for an advertiser. Needs `advertiserId`.
- `get_ads`: Retrieve TikTok ads for an advertiser. Needs `advertiserId`.
- `list_videos`: Retrieve a paginated list of the authenticated user's public TikTok videos, sorted by creation time (newest first).
- `get_campaigns`: Retrieve TikTok Ads campaigns for an advertiser. Needs `advertiserId`.
- `query_videos`: Look up specific TikTok videos by their IDs. Needs `videoIds`.
- `get_creator_info`: Retrieve the authenticated creator's posting capabilities and constraints.
- `get_publish_status`: Check the status of a previously initiated content post on TikTok. Needs `publishId`.

### Write tools (4)

- `post_video`: Initialize a video post to the authenticated user's TikTok profile. Needs `privacyLevel` and `source`.
- `manage_campaign`: Create, update, or change the status of TikTok Ads campaigns. Needs `action` and `advertiserId`.
- `create_ad_group`: Create a new ad group within a TikTok Ads campaign. Needs `advertiserId`, `campaignId` and `adGroupName`.
- `post_photo`: Initialize a photo post to the authenticated user's TikTok profile by providing publicly accessible image URLs. Needs `privacyLevel` and `photoImageUrls`.

## Triggers

TikTok has 2 triggers, which fire on events in TikTok:

- `business_webhook`: Receives webhook notifications from TikTok API for Business.
- `consumer_webhook`: Receives webhook notifications from TikTok for Developers.

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