Connect Facebook Messenger

Link your Facebook Page so SetuChat can read and reply to Messenger threads.

Prerequisites

  • • A Facebook Page you are an admin of.
  • • A SetuChat account (sign in via Google or Facebook).
  • • The Facebook account doing the OAuth must have admin / editor access on the Page and must be listed as a Tester / Developer / Adminon the SetuChat Meta app while it's in Development mode (see Meta App Review).

Connect flow

  1. Sign in to SetuChat
  2. Open the Connect page

    From the dashboard sidebar, click Connect. You'll see a single primary button: Authorize with Meta.

  3. Authorize the Page

    Clicking the button redirects you to Facebook's standard OAuth screen. You'll be asked to grant these permissions:

    • pages_show_list — list the Pages you manage.
    • pages_messaging— send and receive Messenger messages on the Page's behalf.
    • pages_manage_metadata — subscribe the app to messaging webhooks for the Page.

    Pick your Page — not your personal profile — and click Save.

  4. What happens next

    Facebook redirects you to setuchat.ai/api/meta/oauth/callback. SetuChat:

    • Picks up the permissions Meta granted us on your Page.
    • Subscribes your Page to receive Messenger replies through SetuChat.
    • Encrypts and securely stores the access credentials.
    • Links your SetuChat account to that Page.
    • Sends you to Knowledge so you can start training the bot.
  5. Send a test message

    From a differentFacebook account (one that's also a Tester on the app while in Development), open your Page on facebook.com and click Send message. Type something the bot can answer from your KB.

    Within ~3 seconds, the bot replies. The thread shows up in your Inbox with full conversation history.

Pause without disconnecting

Open Settings and toggle Auto-reply off. The bot stops answering new threads but the connection and KB stay intact. Toggle back on to resume.

Re-authorizing a Page

Page access tokens are long-lived but the underlying user token expires every 60 days. If replies stop working, click Authorize with Meta again. SetuChat detects the existing tenant by Page id and refreshes the token in place.

Disconnecting a Page

Two options: