Setting up social channels
Set up the conversational channels connections including Apple Business Chat, WhatsApp, SMS, and Facebook within the Digital Messaging Manager of your Digital Messaging interface to enable customers to interact with Pega Intelligent Virtual Assistant (IVA) by sending messages from the respective messaging channels. By performing this task, you ensure that users can quickly and efficiently request information or report problems with your application through these conversational channels.
Setting up Apple Business Chat
- In the navigation pane of App Studio, click Channels.
- In the Current channel interfaces section, click the icon that represents your existing Digital Messaging interface.
- In your Digital Messaging interface, click the Channel
tab, and then click Manage connections.
- In the DIGITAL MESSAGING MANAGER window, click Add Connectionand then click Apple Business Chat icon in the Add a connection section.
- On the Apple Business Chat Accounts page, click the Add new ABC account icon.
- In the Add New Business Chat Account window, in the Account Name field, enter a label for your Apple Business Chat account to use in the system.
- In the Business Chat ID field, enter an identifier for
your Apple Business Chat account.Apple generates a unique Business Chat identifier when you create an account in the Apple Business Chat portal.
- Click Submit.
- The system displays the Apple Business Chat connection in the Connections section.
- Close the window, and then in your Digital Messaging interface, click Save.
Setting up WhatsApp
- In the navigation pane of App Studio, click Channels.
- In the Current channel interfaces section, click the icon that represents your existing Digital Messaging interface.
- In your Digital Messaging interface, click the Channel
tab, and then click Manage connections.
- In the DIGITAL MESSAGING MANAGER window, click Add Connectionand then click the WhatsAppicon in the Add a connection section.
- On the Twilio WhatsApp Accounts page, click Add New Twilio WhatsApp Number.
- In the Add New Twilio WhatsApp Number window, perform the
following tasks:
- In the Name field, enter a name for your WhatsApp account.
- In the Number field, enter a WhatsApp number, including the country code.
- In the Account SID field, enter the identifier
for your Twilio account.
Twilio generates a unique identifier when you create a Twilio account.
- In the Auth Token field, enter the authorization
token for your Twilio account.Twilio generates an authorization token when you create a Twilio account.
- Click Submit.
- In the Webhook for Twilio WhatsApp section, select and copy the generated webhook URL for WhatsApp.
- Define the webhook URL for the WhatsApp numbers in your Twilio account by
performing the following steps:
- Log in to your Twilio account.
- Click the More icon, and then click Programmable SMS WhatsApp Senders.
- In the displayed list, select a WhatsApp number, and then click Configure.
- In the Twilio Senders for WhatsApp window, in the
Senders Configuration section in the
A Message Comes In field, paste the webhook
URL that you copied in step 7.This action ensures that when your phone number receives inbound messages from WhatsApp Messenger, Twilio forwards the messages to the IVA channel.
- To add additional WhatsApp numbers for your Twilio account to the webhook URL, repeat steps 8.c through 8.d.
- Click Close.
- The system displays the WhatsApp connection in the Connections section of Digital Messaging Manager.
- Close the window, and then in your Digital Messaging interface, click Save.
Setting up SMS
- In the navigation pane of App Studio, click Channels.
- In the Current channel interfaces section, click the icon that represents your existing Digital Messaging interface.
- In your Digital Messaging interface, click the Channel
tab, and then click Manage connections.
- In the DIGITAL MESSAGING MANAGER window, click Add Connectionand then click SMS icon in the Add a connection section.
- On the SMS Accounts page, click Add New Twilio
Number.This action ensures that you give permission to your Twilio SMS account to send and receive messages on behalf of the IVA channel.
- In the Add New Twilio Number window, perform the following
steps: in the
- In the Name field, enter a name for your Twilio account.
- In the Number (Please include country code) field, enter the phone number, including the country code, for your Twilio account.
- In the Account ID field, enter the identifier
for your Twilio account.Twilio generates a unique identifier when you create a Twilio account.
- In the Auth Token field, enter the authorization
token for your Twilio account.Twilio generates an authorization token when you create a Twilio account.
- Click Submit.
- On the SMS Accounts page, highlight and copy the generated webhook URL for Twilio.
- Access your account on the Twilio portal, click Manage Numbers, and then click Active Numbers.
- In the Messaging section, in the field next to the
A Message Comes In webhook section, paste the webhook
URL that you copied in step 7.This action ensures that when your Twilio phone number receives inbound SMS messages, Twilio forwards the messages to the IVA channel.
- The system displays the SMS connection in the Connections section of Digital Messaging Manager.
- Close the window, and then in your Digital Messaging interface, click Save.
Setting up Facebook
- In the navigation pane of App Studio, click Channels.
- In the Current channel interfaces section, click the icon that represents your existing Digital Messaging interface.
- In your Digital Messaging interface, click the Channel
tab, and then click Manage connections.
- In the DIGITAL MESSAGING MANAGER window, click Add Connectionand then click Facebook icon in the Add a connection section. The system displays the Facebook login page.
- Log into your Facebook account with your credentials.
- In the displayed window, click Continue as <YOUR NAME>.
- In the page selection window for your Facebook page application, select the check box for the Facebook page that you will use with your Pega Platform application, and then click Next.
- Review the permissions for your Facebook page, and then click Done.
- The system shows a message Authorization successful for <Facebook page> and displays the page as a Facebook connection in the Connections section of digital messaging manager.
- Close the window, and then in your Digital Messaging interface, click Save.
Previous topic Setting up Web Messaging Next topic Legacy Webchat