To create the Facebook Messenger bot, follow these steps:

Step 1 - Page creation on Facebook

  1. First of all, you will need a page on Facebook to communicate with your clients. To create a new page on Facebook, click on the [Create New Page] button. For it, you can go to this link.

    If you already have it, you can skip this step.

    Untitled

  2. Fill in the name of the page and choose the category of the enterprise's sphere of activity in the corresponding field. If necessary, you can add a company bio. Then click the [Create Page] button.

    Untitled

    As a result, the page will be created, and you can add more information and a logo.

    Untitled

Step 2 - Creating an application on Facebook

  1. Open Meta for developers and create a new app. For it, press the [Create App] button.

    If you already have it, you can skip this step.

    Untitled

  2. Choose the ‘Other’ use case for your app.

    Untitled

  3. Select a suitable app type.

    Untitled

  4. Add an app name and app contact email. Choose a business account, if necessary, and click on the [Create App] button.

    Untitled

Step 3 - Setting up Webhooks into the app

  1. Add the Webhooks product to your app by clicking the [Set up] button.

    Untitled

    Untitled

  2. Select the [Page] type and click on the [Subscribe to this object] button.

    Untitled

  3. Go to M3 and get webhook. Copy link.

  4. Fill in the [Callback URL] and the [Verify token] fields, and click on the [Verify and save] button.

    <aside> 📢 Attention: The [Verify token] field always should fill with the Banza value.

    </aside>

    Untitled

    <aside> 💡 Note: You can always edit these parameters.

    </aside>

  5. Subscribe to the ‘messages’ and the [messaging_postbacks] in the shown subscription list.

    Untitled

Step 4 - Setting up Messenger into the app

  1. Add the Messenger product to your app by clicking the [Set up] button.

    Untitled

    Untitled

    Untitled

  2. Go to the ‘Webhooks’ settings block and add a page.

    Untitled