Question
Regarding PegaChat functionality
I just joined a project and they have configured PegaChat before. I saw in implementation guide we have a script that will initaiate PegaChat interaction.Below is the script from the implementation guide. My question is where I will find APIToken? Also is there any link to configure and understand Pega Chat.
<script type="text/javascript">
(function() {
window.fireflyAPI = window.fireflyAPI || {};
window.fireflyAPI._log = window.fireflyAPI._log || function(){};
window.fireflyChatAPI = {};
fireflyChatAPI.token = "55cd31651688685c461f69d4";
fireflyChatAPI.type = 'visitor';
fireflyChatAPI.serverHostUrl = "http://chat.usefirefly.com:80";
fireflyChatAPI.queue = 'QUEUE_NAME';
fireflyChatAPI.assetHostUrl="https://firefly-chat-production.s3.amazonaws.com";
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://firefly-chat-production.s3.amazonaws.com/scripts/loaders/chatLoader.js";
script.async = true;
var firstScript = document.getElementsByTagName("script")[0];
firstScript.parentNode.insertBefore(script, firstScript);
})();
</script >
***Updated by moderator: Lochan to add SR Exists group tag***
HI,
Pega Chat is a component of Pega Customer Service that broadens Omni-channel customer engagement by providing effective and efficient customer service over the web. It allows customer service representatives (CSRs) to interact with customers from your website by sending and receiving text messages. Pega Customer Service guides CSRs through chat interactions, making responses consistent and efficient.
Please refer attached pega-customer-service-721-implementation-guide, section "Bulding Pega Chat features", page 100. It mentions the following JavaScript variables used in JavaScript snippet.
fireflyChatAPI.token
fireflyChatAPI.cobrowseAPIKey
fireflyChatAPI.queue
fireflyChatAPI.skipQueueSelection
fireflyChatAPI.assetHostUrl
fireflyChatAPI.serverHostUrl