# How to deploy bot on Facebook messenger using Heroku

**URL:** <https://forum.rasa.com/t/how-to-deploy-bot-on-facebook-messenger-using-heroku/13350>\
**Category:** Rasa Open Source\
**Created:** [July 23, 2019, 4:10am UTC](https://forum.rasa.com/t/how-to-deploy-bot-on-facebook-messenger-using-heroku/13350 "2019-07-23T04:10:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![im-singh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/im-singh/32/4277_2.png) [@im-singh](https://forum.rasa.com/u/im-singh)\
**Post date:** [July 23, 2019, 4:10am UTC](https://forum.rasa.com/t/how-to-deploy-bot-on-facebook-messenger-using-heroku/13350/1 "2019-07-23T04:10:24Z")

</div>

So I deployed heroku app and facebook app successfully. I have access tokens. Now tell what to do next, how I add my bot on facebook messenger. Give any tutorials or videos reference or give me some hints.

---

<div class="post-metadata">

**Author:** ![iamrajatroy](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/iamrajatroy/32/3503_2.png) [@iamrajatroy](https://forum.rasa.com/u/iamrajatroy)\
**Post date:** [July 23, 2019, 2:50pm UTC](https://forum.rasa.com/t/how-to-deploy-bot-on-facebook-messenger-using-heroku/13350/2 "2019-07-23T14:50:53Z")

</div>

I am assusming that heroku app is your backend and you want to call its api when some intent is triggered in rasa. You can do that in your actions.py file inside rasa project. To integrate rasa with facebook you can try chatfuel.

Follow this link of the tutorial by @souvikg10 -

> **[Building a multi-lingual chatbot using Rasa and Chatfuel](https://medium.com/@souvikghosh_archidev/building-a-multi-lingual-chatbot-using-rasa-and-chatfuel-cca20cbc645a)**
>
> I have been a great enthusiast of the Rasa stack and their ability to demystify Conversational AI for many of us who have started out…

You can also use bot society (Tutorial by @Juste) . Here is the tutorial link -

[![](https://img.youtube.com/vi/AF5O5zotXoQ/hqdefault.jpg "Rasa + Botsociety integration launch") ](https://www.youtube.com/watch?v=AF5O5zotXoQ)

Another thing which I have tried is sending custom payloads to facebook messenger -

> **[Generic Template - Messenger Platform - Documentation - Meta for Developers](https://developers.facebook.com/docs/messenger-platform/send-messages/template/generic/)**

I hope this helps.

---

<div class="post-metadata">

**Author:** ![im-singh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/im-singh/32/4277_2.png) [@im-singh](https://forum.rasa.com/u/im-singh)\
**Post date:** [July 27, 2019, 12:39am UTC](https://forum.rasa.com/t/how-to-deploy-bot-on-facebook-messenger-using-heroku/13350/3 "2019-07-27T00:39:49Z")

</div>

Thank you for your time. I have successfully deploy bot to messenger with the help of Rasa tutorials.

---

<div class="post-metadata">

**Author:** ![hjelga](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hjelga/32/6113_2.png) [@hjelga](https://forum.rasa.com/u/hjelga)\
**Post date:** [November 4, 2019, 8:03pm UTC](https://forum.rasa.com/t/how-to-deploy-bot-on-facebook-messenger-using-heroku/13350/4 "2019-11-04T20:03:32Z")

</div>

Can I ask you what tutorial?

---

<div class="post-metadata">

**Author:** ![hjelga](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hjelga/32/6113_2.png) [@hjelga](https://forum.rasa.com/u/hjelga)\
**Post date:** [November 5, 2019, 11:14am UTC](https://forum.rasa.com/t/how-to-deploy-bot-on-facebook-messenger-using-heroku/13350/5 "2019-11-05T11:14:42Z")

</div>

Can I ask you what tutorial you did use

---

<div class="post-metadata">

**Author:** ![im-singh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/im-singh/32/4277_2.png) [@im-singh](https://forum.rasa.com/u/im-singh)\
**Post date:** [November 11, 2019, 7:19am UTC](https://forum.rasa.com/t/how-to-deploy-bot-on-facebook-messenger-using-heroku/13350/6 "2019-11-11T07:19:48Z")

</div>

If you search for rasa tutorials you can get there website, to describe how to start with rasa and all things. Also I have learn from a book “building chatbot using python” by Sumit Raj. I hope it helps.
