In the reference it suggests registering your chatbot as a new app:
I already have a registered app for my partner’s twitch channel which does various bits to do with channel rewards, managing viewer logins and interactions on our website, stream widgets I’ve made for him, getting stream data etc. It would save me a lot of headaches if the chatbot could be integrated into the same app. I had a lot of help to deal with the Oauth stuff so I’m not entirely sure where to start, but this seemed to be the first question to ask before proceeding.
Also if anyone here is an expert in PHP and can offer some general getting started advice for someone who was at 'echo “Hello World”; about 18 months ago, I’d very much appreciate it! We have a large library (200+) of sound/image commands which are already in a database on the website, it would be super awesome to just have the same web server could run the bot too using the database instead of having to maintain a separate local chatbot (currently using Streamlab’s chatbot but it has some tricky drawbacks which we don’t love).