LogoLogo
  • GETTING STARTED
    • Welcome to the NLX platform
    • How NLX works
    • Guides
      • Analytics dashboard
      • Chat
      • Generative Journey (Slots)
      • Model Context Protocol
      • Voice
      • Voice+ script
      • Touchpoint components
        • Carousel modality
        • Video modality
    • Terms & concepts
    • Generative AI
    • Developer
  • Build
    • Workspace setup
    • Flows
      • Intro to flows & variables
      • The Canvas
      • Flow settings
      • Nodes
      • Flow appearance
    • Resources
      • Actions
        • Implementation
        • Request model
      • Analytics tags
      • Context variables
      • Data requests
        • Implementation
        • Response model
        • Request model
      • Knowledge bases
        • Ingest content
        • Add metadata (beta)
        • Apply KB
      • Lifecycle hooks
        • Implementation
      • Modalities
      • Secrets
      • Slots (custom)
        • Adding values
        • Translating slots
      • Voice+ scripts
        • Add + download script
        • Deploy script + install SDK
        • Create Voice+ flow
    • Integrations
      • Channels
        • Alexa
        • Amazon Chime SDK
        • Amazon Connect
        • AWS End User Messaging SMS
        • AWS End User Messaging Social
        • Bandwidth
        • Genesys
        • Twilio
        • Zendesk Sunshine
      • LLM services
        • Amazon Bedrock
        • Anthropic
        • Azure OpenAI
        • Cerebras
        • Cohere
        • Google Vertex AI
        • Groq
        • NVIDIA
        • OpenAI
        • xAI
      • NLP
        • Amazon Lex
        • Google Dialogflow
        • Google Dialogflow CX
        • Custom NLP
    • Translations
  • Deploy & test
    • Applications
      • Attach flows
      • Assign default behavior
      • Add channels
        • API
          • REST API
        • Alexa
        • Amazon Chime SDK
        • Amazon Connect
        • AWS End User Messaging SMS
        • AWS End User Messaging Social
        • Genesys
        • Genesys SMS
        • Messenger
        • Microsoft Teams
        • Slack
        • SMS via Bandwidth
        • Twilio SMS
        • Twilio Voice
        • WhatsApp via Twilio
        • Zendesk Sunshine
      • Deploy
      • Optional: Set lifecycle
      • Optional: Set languages
    • Test
      • Test a conversation
      • Automated tests
      • Test an external integration
  • Analyze
    • Conversations
    • Analytics
      • Creating dashboards
      • Formulas & multi-metrics
      • Canvas analytics
    • Training
  • Workspace Settings
    • Escalation channels
    • Resource tags
    • Audit
  • Admin
    • Access control
      • Roles & permissions
    • Notifications
    • FAQ
    • Contact support
Powered by GitBook
On this page
  • Step 1: Set up Messenger
  • Step 2: Generate Page access token
  • Step 3: Generate Verify token
  • Step 4: Create Messenger channel
  • Step 5: Post deployment
  1. Deploy & test
  2. Applications
  3. Add channels

Messenger

Learn to set up a Facebook Messenger communication channel for your application in your NLX workspace

Last updated 16 days ago

If you don't already have a Facebook page for your application to connect to, create one on Facebook (https://facebook.com). Once your page is in place, set up Messenger before creating a channel.

Step 1: Set up Messenger

To generate the other necessary properties to get your application up and running with Messenger, first create a Messenger product:

  • Navigate to your Facebook App on . Scroll down to the Products section and choose Messenger for Set Up


Step 2: Generate Page access token

  • On your Facebook App's page, click Add or Remove Pages

  • Navigate to your app's page and choose the Facebook page you want to link your application to

  • Follow the steps in the pop-up

  • After the page is added, click Generate Token

  • Copy the token from the popup > Click Done


Step 3: Generate Verify token

For security, make sure the Verify token is at least 32 characters long.


Step 4: Create Messenger channel

  • Navigate to Channels tab of your application

  • Expand Messenger option

  • Select + Create channel

  • Enter Verify token

  • Enter Page access token

  • Click Create channel


Step 5: Post deployment

  • After deploying your application, make note of the application's URL by expanding the Details link beside your Deployed status. Expand the Messenger section in the popup modal > Copy the Bot URL

  • On your Facebook App's page, scroll to the Webhooks section > Click Add Callback URL

  • Enter the bot's URL into the Callback URL field. Then enter the Verify token value you created into the Verify Token field

  • Click Verify and Save

  • On your Facebook App's page, scroll to the App Review for Messenger section > Select to add the pages_messaging permission

You may use any method to generate this string. We recommend using a password generator such as

Before proceeding to Step 5, create a .

https://www.lastpass.com/password-generator
build and deploy your application
https://developers.facebook.com
Facebook App page