Skip to content

Receive Client ID and Secret from Twitch

Before the bot can chat or interact on Twitch, it needs to log in first. Just like regular users have a username and password, the bot needs a Client ID and Client Secret. This article explains how to get them from Twitch.


Just go to Twitch Developer Portal and log in. The account used to obtain the Client ID and Secret will be the same account the bot uses to interact in chat. It can be the same account you stream with.


Go to the Register Application page. This is where you create an application so the bot can interact with Twitch. Fill in the form as follows:

  • Name: Any name that isn’t already taken
  • OAuth Redirect URLs: Enter http://localhost:4000/setup/callback/twitch exactly (must be http not https, and no trailing /)
  • Category: Select Chat bot
  • Client type: Select Confidential (leave as default)

Click “create” at the bottom of the page. If everything is correct, you’ll be taken to the Developer Applications page where you’ll see the app you just created.


On the Developer Applications page, click “Manage” on your app. Scroll to the very bottom — you’ll see “Client ID” and “Client Secret”. Click “New Secret” and save it somewhere safe, because you won’t be able to view it again.