Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Step 3: Complete Facebook integration with your Lex V2 bot

Focus mode
Step 3: Complete Facebook integration with your Lex V2 bot - Amazon Lex

In this step, use the Facebook developer console to complete integration with Amazon Lex V2.

To complete Facebook Messenger integration
  1. Open https://developers.facebook.com/apps

  2. From the list of apps, choose the app that you are integrating with Facebook Messenger.

  3. In the left menu, choose Messenger, then choose Settings.

  4. In the Webhooks section:

    1. Choose Add Callback URL.

    2. In Edit Callback URL, enter the following:

      • Callback URL – Enter the callback URL that you recorded from the Amazon Lex V2 console.

      • Verify Token – Enter the alias that you entered in the Amazon Lex V2 console.

    3. Choose Verify and Save.

    4. Choose Add subscriptions under Webhooks next to your page.

    5. In the window that pops up, choose messages and then click Save.

Next step

Step 4: Test the integration with Facebook Messenger

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.