I recently built a Slack chatbot using this tutorial: https://youtu.be/jTaoU6u1Fcg
It worked great.
Now, I'm trying to run my bot on Heroku instead (so it works 24/7) but can't find anywhere online on how to do it.
The specific questions I need answered are:
Thanks for any help.
I just recently deployed a chatbot on heroku. The answers to your questions will be: 1. I kept the port same at 3000 and that will work on heroku as well. 2. I don't think you need to do anything on the heroku. 3. I don't think you need to do anything on the heroku. 4. ngrok wont work now but instead of ngrok url you will have add the url given by heroku (eg http://yourappname.herokuapp.com/ ) on your slack interactive elements and slash commands if you use them.
I hope this should fix your problem. One more thing there will be a proc file in heroku where you will have to give the entry path of your app.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.