
# TikTok

:::info Beta
The TikTok integration is currently in beta. As this integration is subject to change we do not recommend using it in production workflows yet.
:::

[TikTok](https://www.tiktok.com/) is a social media application developed by ByteDance.

This integration allows you to automatically upload your videos to TikTok for publishing.

### Setup

To send your videos directly to your TikTok you will have to connect Shotstack to your TikTok. This will
provide Shotstack with permissions to upload files to TikTok on your behalf.

Login to the dashboard and navigate to the [integrations](https://dashboard.shotstack.io/integrations) page, find the
TikTok destination and click [configure](https://dashboard.shotstack.io/integrations/tiktok).

Click the **Connect to TikTok** button and follow the prompts.

### Integration

#### Basic integration

To send your video to TikTok add the following to the output parameter of the render payload:

```json
"destinations": [{
    "provider": "tiktok"
}]
```

#### TikTok options

You can pass additional options to control the title, privacy level, and interaction features for the uploaded video:

```json
"destinations": [{
    "provider": "tiktok",
    "options": {
        "title": "My Automated Video",
        "privacyLevel": "public",
        "disableDuet": false,
        "disableStitch": false,
        "disableComment": false
    }
}]
```

The available options are:

| Option | Type | Description |
| :--- | :--- | :--- |
| `title` | string | A title for the video displayed on TikTok (max 150 characters). |
| `privacyLevel` | string | The privacy level for the video: `public`, `friends`, or `private` (default: `private`). |
| `disableDuet` | boolean | Disable the Duet feature for this video (default: `false`). |
| `disableStitch` | boolean | Disable the Stitch feature for this video (default: `false`). |
| `disableComment` | boolean | Disable comments on this video (default: `false`). |

### Opting out from the Shotstack destination

By default all generated files are sent to the Shotstack destination. If you are using TikTok you may wish to [opt
out](../self-host.md) from hosting your videos with Shotstack using:

```json
"destinations": [{
    "provider": "tiktok"
},{
    "provider": "shotstack",
    "exclude": true
}]
```

This will send the generated video to TikTok but not to Shotstack.
