# Twitch

### Setting up Twitch for Cozmos

In your Cozmos Space go to: <mark style="color:yellow;">Settings / Social Media Integrations / Twitch</mark>

<figure><img src="https://955540963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgWSBgBDll5yYEIDkdXon%2Fuploads%2F02woPYcXOohaJXGdEi07%2Fimage.png?alt=media&#x26;token=dc0693a8-b599-4f46-a772-a3d69cd61b62" alt="Twitch"><figcaption></figcaption></figure>

{% hint style="info" %}
The 'Title' field allows you to name the content you are linking, this makes it easier to find when browsing what content to add in Curator through the Social Content Link Action
{% endhint %}

For Twitch we support three types of content: Livestreams/Channels, VODs and Clips.

#### Livesteeams/Channels

To find your own channel name, login to Twitch and click on your profile icon in the top right of the screen. Select Channel and the browser will load your channel. Copy the channel name from the url, you don't need the entire url

<figure><img src="https://955540963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgWSBgBDll5yYEIDkdXon%2Fuploads%2FdIx5GBAM9Zbdl03j9YJ0%2Fimage.png?alt=media&#x26;token=3fb43bc9-6b4e-48a2-9cf6-4ce4f53ec712" alt=""><figcaption></figcaption></figure>

For other, public channels. Open the channel and copy the channel name from the url.

#### VODs (Videos on demand)

To go to the VODs page of a channel, click the channel icon beneath the Twitch video player and select the <mark style="color:yellow;">Videos</mark> tab.

<figure><img src="https://955540963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgWSBgBDll5yYEIDkdXon%2Fuploads%2F7ZriTGf5xOtHtQiZWv3E%2Fimage.png?alt=media&#x26;token=a24e396a-e3e1-4dea-b242-ab376003b2e7" alt=""><figcaption></figcaption></figure>

When you select a video, the url structure have a video ID. This is all you need to copy to Cozmos, not the full url.

#### Clips

For embedding Clips the process is the same as VODs. To find Clips it is best to browse Twitch by category.

<figure><img src="https://955540963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgWSBgBDll5yYEIDkdXon%2Fuploads%2F9ykCeDLRcIpzjnbfXNyD%2Fimage.png?alt=media&#x26;token=ecd3e160-9b20-4c4d-bf3d-ea7e4964878e" alt=""><figcaption></figcaption></figure>

Once you have selected a category and have found a clip you would like to embed, double click it so that the url in your browser tab changes. It will look something like this:

<mark style="color:yellow;"><https://www.twitch.tv/ninja/clip/AcceptableAlluringLorisMcaT-qkHNSM8cqCiyuc1v></mark>

Cozmos does not need the entire url, just the Clip title at the end.

#### Link formats required for Twitch content on Cozmos are as follows:

<table><thead><tr><th width="155">Content Type</th><th width="588">Full example URL (yellow section required by Cozmos)</th></tr></thead><tbody><tr><td>Channel</td><td>https://www.twitch.tv/<mark style="color:yellow;">eslcs</mark></td></tr><tr><td>VODs</td><td>https://www.twitch.tv/videos/<mark style="color:yellow;">1952244075</mark></td></tr><tr><td>Clips</td><td>https://www.twitch.tv/ninja/clip/<mark style="color:yellow;">AcceptableAlluringLorisMcaT-qkHNSM8cqCiyuc1v</mark></td></tr></tbody></table>

Copy the relevant information of whichever content type you would like to embed in the <mark style="color:yellow;">Add Content</mark> section of the Social Media Integration settings.

<figure><img src="https://955540963-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgWSBgBDll5yYEIDkdXon%2Fuploads%2FuQDlwyGFWYnfiMd45u79%2Fimage.png?alt=media&#x26;token=3ffefefe-9f6e-4dfe-a7c2-a0d1605c2c74" alt=""><figcaption></figcaption></figure>

There is no limit to how many content links you can add, but we recommend naming them clearly so you can easily find them in Curator when applying the Social Content Link action.
