Creating WhatsApp Business Channels (PBX)

Follow this guide to set up WhatsApp Business channels in PBX Cloud. Learn how to generate a WhatsApp Business access token and connect your account to enable secure, real-time messaging through the platform

Creating a WhatsApp Business Channel

📘

NOTE

The Messaging Inbox provides handling of the WhatsApp Business Channel and message viewing

To create a WhatsApp business channel:

  1. Go to Settings > Messaging Channels
**Settings > Messaging Channels** tab

Settings > Messaging Channels tab

  1. Click Add New Channel
  2. From the Type drop-down list, select Whatsapp business
  3. Provide a dedicated channel name to present the business logic messages you send through this channel
  4. In the Authentication Token field, enter the Meta auth token related to your WhatsApp Business Account (WABA). Check the Generating a WhatsApp Business Token section below for more details
  5. In the Business Id field, provide the Meta business ID related to your WhatsApp Business Account (WABA). Check the Getting the WhatsApp Business ID section below for more details
  6. Click Create

📘

NOTE

If you have issues configuring your channel, please click here to request assistance and the TextPeak support team will be happy to help you configure your first business channel.

Generating a WhatsApp Business Token

As one of the steps of creating a WhatsApp channel, you need to enter a WhatsApp Business token and your WhatsApp Business ID.

You will also learn how to configure webhooks in your app to be alerted at WhatsApp-related actions.

To create a token:

  1. In your Meta Business Suite account, navigate to the Settings menu (the gear icon), expand Users, and select System Users. You can also use the following link: https://business.facebook.com/latest/settings/system_users.

  2. Click Add.

    Screenshot of the Meta **System Users** section

    Meta System Users section

  3. In the window that pops up, enter the name for the user and select the Admin role.

  4. Click Create system user.​

    Screenshot of the **Create system user** dialog

    Create system user dialog

  5. On the System users page, click Generate token. ​​

    Screenshot of the **Generate token** button

    Generate token button

  6. A new window will pop up where you should specify the token attributes:

    1. Select the app for which you are creating the token.

      Screenshot of the **Select app** step

      Select app step

    2. Select the token expiration option.

    📘

    NOTE

    Please make sure you select Never as you are creating a permanent token.

    Screenshot of the **Set expiration** step

    Set expiration step

    1. Assign the following permissions to the app: whatsapp_business_management and whatsapp_business_messaging.​​

      Screenshot of the **Assign permissions** step

      Assign permissions step

    2. Click the Generate token button.​

      Screenshot of the **Generate token** button

      Generate token button

  7. You will see your token on the screen. Copy it and click Done.​

    Screenshot of the **Done** step

    Done step

  8. You can insert the token in the <<Auth token field when creating a WhatsApp stream.