# Connecting Twitch to OBS (Virtual event)

Download OBS [here](https://obsproject.com/) for free. Useful information on how to use OBS can be found [here](https://obsproject.com/wiki/OBS-Studio-Quickstart).

### Output

Once a Twitch live stream has been [created](https://knowledge-base.letsgetdigital.com/the-admin-panel/content/virtual-platform/programme/live-stream-settings-vp/twitch-stream-vp) the following information is shown, which is needed to connect the stream with OBS.

| Title              | Explanation                                                         |
| ------------------ | ------------------------------------------------------------------- |
| Primary Stream key | This is the streaming key that needs to be inserted in the encoder. |

![](https://gblobscdn.gitbook.com/assets%2F-M5LNCGpK5lyymcFZU4V%2F-MCvhRT0rfJGa7lIgDyE%2F-MCvjdscWeuL6AULATy2%2Fimage.png?alt=media\&token=1d47117e-31be-4149-99b5-ecca9a49f6ce)

In OBS click on 'Settings' in the bottom right corner.

<div align="left"><img src="https://gblobscdn.gitbook.com/assets%2F-M5LNCGpK5lyymcFZU4V%2F-MCvMZLWwQmRZTERaF4n%2F-MCvRkLJi8-Pl6z3JtFP%2Fimage.png?alt=media&#x26;token=e064942d-5f80-4bfc-b536-706ea34f00e0" alt=""></div>

### Stream

Select 'Stream' from the menu on the left side and fill in the following information for each tab:

| Tab in OBS | Fill in information from YouTube |
| ---------- | -------------------------------- |
| Service    | Twitch                           |
| Server     | Auto (Recommended)               |
| Stream Key | Primary Stream key               |

Or press the 'Connect Account (recommended)' button to connect an account.

![](https://gblobscdn.gitbook.com/assets%2F-M5LNCGpK5lyymcFZU4V%2F-MCvhRT0rfJGa7lIgDyE%2F-MCvkdbA1jZ9Gek9imDR%2Fimage.png?alt=media\&token=c9eb4add-65bb-4cd9-b8f6-76e7d1110347)

### Output

Select 'Output' from the menu on the left side and fill in the following information for each tab:

| Tab in OBS    | Fill in               |
| ------------- | --------------------- |
| Output Mode   | Simple                |
| Video Bitrate | Enter desired bitrate |
| Encoder       | Software (x264)       |
| Audio Bitrate | Select desire bitrate |

![](https://gblobscdn.gitbook.com/assets%2F-M5LNCGpK5lyymcFZU4V%2F-MCvMZLWwQmRZTERaF4n%2F-MCvaswfRp_k-1HCmFFD%2Fimage.png?alt=media\&token=02923934-0db5-4abd-acac-f67ad1ce2b0a)

​[Learn more about bitrates.](https://blog.mobcrush.com/how-to-choose-the-right-bitrate-for-your-stream-9864ce322a9b)​

Click on 'OK' in the bottom right corner.

### Go live

Click on 'Start Streaming' in the bottom right corner to go live.

<div align="left"><img src="https://gblobscdn.gitbook.com/assets%2F-M5LNCGpK5lyymcFZU4V%2F-MCvMZLWwQmRZTERaF4n%2F-MCvY-fuWXkig8AHp69e%2Fimage.png?alt=media&#x26;token=bc9f7afd-b55d-4777-a8b9-7d638d726c2d" alt=""></div>

The stream will start on Twitch. Insert the live stream in the Let's Get Digital environment.
