---
description: >-
  Enable the option for your viewers to execute certain commands when donating
  certain amounts of money using StreamLabs.
---

# Connecting StreamLabs

### Connecting StreamLabs to our mod

Go to your **StreamLabs** Dashboard, and on the left side scroll down until you see **Account** -> **Settings**

<figure><img src="https://1263515906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDfC269yvoqdOuFQAZ2b%2Fuploads%2FsD4NxxHDeR6Q6yetJLH0%2Fimage.png?alt=media&#x26;token=a30a2cbb-4410-417a-81af-24e87ab23d23" alt=""><figcaption><p>Settings button under Account</p></figcaption></figure>

In **Settings** press on **API Settings**

<figure><img src="https://1263515906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDfC269yvoqdOuFQAZ2b%2Fuploads%2FHeMZQzCOAMInehmXoAOx%2Fimage.png?alt=media&#x26;token=237871eb-51f9-45d3-954a-c0998c67b336" alt=""><figcaption><p>API Settings in Settings</p></figcaption></figure>

In **API Settings** press on **API Tokens**

<figure><img src="https://1263515906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDfC269yvoqdOuFQAZ2b%2Fuploads%2FyeDShlNrd3yYLqM167Vj%2Fimage.png?alt=media&#x26;token=b295a922-3b96-4587-b2ed-49889132d570" alt=""><figcaption><p>API Tokens in API Settings</p></figcaption></figure>

In **API Tokens**, Copy the **Socket API**

<figure><img src="https://1263515906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDfC269yvoqdOuFQAZ2b%2Fuploads%2FH8aDJMmoP0TOhFlPtMNV%2Fimage.png?alt=media&#x26;token=443fa076-ff9b-4dfc-a657-cc8a7d10cc9d" alt=""><figcaption><p>Copy Button and the Socket API Field</p></figcaption></figure>

Now in our mod, go to the **API KEYS** category, and paste the **Socket API** into the "StreamLabs Socket key" field.

<figure><img src="https://1263515906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDfC269yvoqdOuFQAZ2b%2Fuploads%2FenxKmuWPZSfnQSp5g9M9%2Fimage.png?alt=media&#x26;token=599ed85f-be4f-4ac4-8fcf-e0cf4bd7d2a4" alt=""><figcaption><p>Socket API field in API KEYS Category</p></figcaption></figure>

Now finish it off by going in the **Donation Events** subcategory in the **Streaming** category and change **StreamLabs** to a Yes.

<figure><img src="https://1263515906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDfC269yvoqdOuFQAZ2b%2Fuploads%2FrnQwor8W2iOs16kZddMK%2Fimage.png?alt=media&#x26;token=2479f34e-06f5-45ea-8682-010e89d4cda8" alt=""><figcaption><p>StreamLabs field in Donation Events Subcategory</p></figcaption></figure>
