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
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: