Originally appeared on Chatbots Magazine.

Here’s how:

First, go to https://www.dashbot.io/ and create an account. Create a Facebook bot, and save the API KEY. This will be the DASHBOT_API_KEY that you will use below.

Then, go to https://developers.facebook.com/apps/ and “Add a New App”. Choose Category “Apps for Messenger”.

![](https://i.dashbot.io/wp-home/uploads/2017/05/07125948/3c996-1ncl4eotoia64nt0krc09iq.png)
In “Token Generation” select the Page that your Bot is associated with, allow page permissions for this app. Save this token, this is the **FACEBOOK\_TOKEN** you will use below.
![](https://i.dashbot.io/wp-home/uploads/2017/05/07125947/0_cf_yllko8YkSCq8l.png)
Click on “Setup Webhooks”
![](https://i.dashbot.io/wp-home/uploads/2017/05/07125947/0_fzrbzRQD_u5d5dga.png)
Enter your Callback URL:

Check ALL of the boxes

![](https://i.dashbot.io/wp-home/uploads/2017/05/07125946/0_uHvZ9X_5l6HriiQB.png)
Click on “Select a Page” to subscribe your webhook to page events, and select the page associated with your bot
![](https://i.dashbot.io/wp-home/uploads/2017/05/07125945/0_KlCaZgVoXC1134dK.png)
Click on the “Subscribe” button. It’s blue. It should look like this:
![](https://i.dashbot.io/wp-home/uploads/2017/05/07125944/0_kMaFACSQlH8jTKKV.png)
When you have set everything up properly, your Messenger configuration should look something like this:
![](https://i.dashbot.io/wp-home/uploads/2017/05/07125944/37a3f-1v_jtnxit5vjc5iptc3lu0g.png)
Do not submit this app for review. You actually do not want this app to be publicly available, since it only serves to echo the conversation to Dashbot.

DONE! Go to Dashbot and look at your conversations!

** Actually, this integration works with ANY Facebook bot, regardless of what tool you used to build it. So, whether you’ve used Chatfuel, Dexter, Motion.ai, Message.io, Botkit Studio, or any other platform, you can use this integration!