# Twitch API Setup

To set up the plugin correctly, you must create a Twitch application for your website and give it the correct settings. For beginning authorize in your Twitch profile on the Twitch developer console [dev.twitch.tv](https://dev.twitch.tv/console)

Go to an applications page [dev.twitch.tv/console/apps](https://dev.twitch.tv/console/apps) and press a ***Register Your Application*** button in the top right corner.

<figure><img src="https://content.gitbook.com/content/b9pNburQqbG9yq2Ev6Tf/blobs/xGTnQ6Du2ozYXh7SBHw2/2.1.webp" alt=""><figcaption></figcaption></figure>

You will be asked to assign a name and choose one that is comfortable to remember that this setup is for the website.

In the ***OAuth Redirect URLs*** section, add your domain name in the format `https://my-site.com/`

<figure><img src="https://content.gitbook.com/content/b9pNburQqbG9yq2Ev6Tf/blobs/AKPwafnlvQAB4Rep7cVw/2.2.webp" alt=""><figcaption></figcaption></figure>

Also, select the category ***Website Integration***.
