Chat and messaging configuration
A chat server processes chat messages between the chat widget that is deployed on your webpages and your Pega Customer Service application. When you buy a license that includes the Pega Chat offering for Pega Customer Service 8.2 or later, a Pega Cloud Collaboration Services chat server account is provisioned for you. The authorized contact for your organization's Pega account receives an email that includes a private API key and the chat server hostname of your provisioned chat server account. The Pega Cloud Collaboration Services chat server's hostname depends on the geographical region (for example, for the USA, it is https://us.chat.pega.com).
Configuring chat and messaging settings
Configure the settings that connect your application to the chat server, and define the global settings for chat and messaging, such as the maximum number of conversations per CSR and how to calculate the wait time. You must provision your chat server from Pega Cloud Collaboration Services. The chat server processes the incoming requests from the chat and messaging queues.
- In the navigation pane of App Studio, click .
- In the list of chat and messaging settings, click Chat and messaging configuration.
- In the Chat serversection, configure the following
fields:
- In the Chat server hostname field, enter the
host name of the chat server that has been provisioned to you. The host
name depends on the geographical region of the chat server:
- For the APAC region, the host name is au.chat.pega.com
- For the EU, the host name is eu.chat.pega.com
- For North America, the host name is us.chat.pega.com
- In the Configuration protocol list, select https.
- In the Port field, enter 443.
- In the Server configuration key field, enter the
private API key of your provisioned chat server account.You receive the server configuration key in an email to your operational contact.
- To ensure that Pega Customer Service connects with the
chat server, click Verify Key.
- In the Chat server hostname field, enter the
host name of the chat server that has been provisioned to you. The host
name depends on the geographical region of the chat server:
- In the Wait time calculation section, configure how to
calculate the wait time for a queue.
- To prevent the system from routing a live chat request to a queue with
a long wait time, enter a value in the Wait time evaluation
window in minutes field.The average CSR chat handle time for a queue is one of several values used to determine whether to route a live chat request to a queue.
- To define when the calculation for the wait time evaluation window should start, enter a value in the Minimum number of conversations for wait time calculation field.
- To display the wait time before the customer can chat with a live agent in the customer's chat window, select the Notify wait time to customer check box.
- To prevent the system from routing a live chat request to a queue with
a long wait time, enter a value in the Wait time evaluation
window in minutes field.
- In the Composing and saving section, configure the
following settings:
- To display the rich text editing tools in the chat window, select the
Enable rich text editingcheck box.The CSR can use all of the features of the rich text editor control. The customer can use only images and emojis.
- To show the CSR what the customer is typing in the chat window before
the customer sends the message, select the See what the
customer is typing before they click send check
box.The CSR can use this time to plan an appropriate response or search for predefined content to send as a response.
- To prevent the proactive chat feature from inviting a customer to a chat session when the wait time is longer than a specified number of seconds, enter the number of seconds in the Allow proactive chat when wait time is less than (seconds) field.
- To define how often the chat transcript should be updated and saved as a conversation history, enter a value in the Chat transcript save interval field.
- To display the rich text editing tools in the chat window, select the
Enable rich text editingcheck box.
- In the Audio notifications section, configure the
following settings:
- To send an audio notification for an incoming work to the CSR, select the Enable audio notification check box.
- To determine the number of times to play the audio file, enter a value in the Number of times to play the audio file field.
- To upload an audio file for the audio notification, click
Upload file, and then select the audio file
from your media.Supported audio file formats are MP3 and MPEG4.
- Click Save.
Configuring proactive chat
Configure proactive chat to invite customers to a chat session from your website, rather than waiting for the customer to request assistance. Based on your business requirements, you can define the logic that decides when to initiate a proactive chat. Pega Customer Service provides a set of JavaScript APIs to support the proactive chat feature from your website.
- In the navigation pane of App Studio, click .
- In the list of chat and messaging settings, click Chat and messaging configuration.
- To prevent the proactive chat feature from inviting a customer to a chat session when the wait time is longer than a specified number of seconds, enter the number of seconds in the Allow proactive chat when wait time is less than (seconds) field.
- Click Save.
Previous topic Implementing chat and messaging Next topic Queues