You can now use the offical ChatGPT API to build bots. Moreover, Slack has announced the offical ChatGPT app.
- You will need a server with Internet access to host the backend of the bot. I'm using a Ubuntu machine.
- You will need a ChatGPT account.
- You will need to create a Slack app with at least the permission to write to the channels (see https://api.slack.com/authentication/basics for instructions)
- Reverse Engineered ChatGPT API: to interact with ChatGPT
- slack_bolt: to interact with Slack
Go to code
folder
cp config_template.json config.json
Add your credentials and configuration to it. Then you can fun the backend with
python app.py