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

# TikTok

> Add TikTok URLs to Cloudglue for analysis

Add public TikTok video URLs to a Cloudglue [collection](/core-concepts/entity-collection). TikTok videos are processed with full multimodal analysis (audio, visuals, and text).

## Add on the dashboard

From the **Data Connectors** page, click **TikTok** under Other Sources. Paste one or more TikTok URLs, pick a collection, and add them.

<Frame>
  <img src="https://mintcdn.com/aviary/vr_AhY8NsU7HK1Pd/images/tiktok-modal.png?fit=max&auto=format&n=vr_AhY8NsU7HK1Pd&q=85&s=3a35782aa430ef3b372633429938f62b" alt="Add TikTok videos modal" width="2682" height="2122" data-path="images/tiktok-modal.png" />
</Frame>

## Add with the API/SDK

```javascript theme={null}
const result = await client.collections.addVideoByUrl({
  collectionId: 'my-collection-id',
  url: 'https://www.tiktok.com/@user/video/1234567890',
  params: {},
});
```

See [Add Media to Collection](/api-reference/endpoint/collections/media-post) for the full API reference.

To sync a TikTok URL into a standalone file without a collection, use [Sync File from URL](/api-reference/endpoint/files/sync):

```bash theme={null}
curl -X POST https://api.cloudglue.dev/v1/files/sync \
  -H "Authorization: Bearer $CLOUDGLUE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.tiktok.com/@user/video/1234567890"}'
```
