1

I'm building a chat bot and I want to connect it to a database to store user response to a question, I deploy the app to heroku, how can I use mysql to do that job and if there is a good resource please recommend

1 Answers1

2

You can use the ClearDB or Jaws DB MySQL add-ons, then just make the DB calls in your webhook code, probably indexing on psid:

https://devcenter.heroku.com/articles/jawsdb

https://devcenter.heroku.com/articles/cleardb

amuramoto
  • 2,838
  • 1
  • 11
  • 15