Register a new Github - Personal Token
Login to GitHub with the account that shall perform the integration (regular account works)
Click on the avatar and select Settings
Click on Developer settings
Click on Personal access tokens
Click on New Personal access tokens
Fill in Name any name will do
Click Save
This will result in a new Token. Copy that token, this will be used later on when setting up the integration.
Setup Bearer Token in Integration Hub.
Next step is to setup the corresponding Bearer Token authentication in Integration Hub to connect the two systems, see Bearer Token on instructions on how to do this.
Scopes
https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/