Question
Cognizant Technology Solutions
US
Last activity: 6 Feb 2019 0:54 EST
WebChatBot configuration on Pega 7.4
Hi,
I have configured a webChat channel on Pega 7.4 and tested it via preview console. When I was trying to test it from a sample web page the Pega chat is not launching. I have embedded the mashup code generated within the test web page. When I launched that test webpage in IE, I was presented with pega login screen and after providing credentials I was presented with Pega developer studio. Can you please advice what I am missing here?
Do we need to install/configure any additional components like Pega chat server in Pega 7.4 to have this functionality working?
Thanks in advance.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi,
Please check below links. These may be helpful.
Cognizant Technology Solutions
US
Thanks for sharing the links. I have reviewed them earlier too and still confused. As per your 2nd link "The WebChat channel takes advantage of similar bot capabilities that are available to the Facebook channel interface. However, you have full control over the end-to-end communication and no additional accounts or third-party installation is necessary."
So do we still need to install Pega Chat servers separately along with Pega 7.4 to leverage the "WebChat channel" interface. My issue is when I launch my test web page I am not getting the Chat window. Any suggestion will be really helpful.
PFB the code for the test page.
<html>
<body>
Thanks for sharing the links. I have reviewed them earlier too and still confused. As per your 2nd link "The WebChat channel takes advantage of similar bot capabilities that are available to the Facebook channel interface. However, you have full control over the end-to-end communication and no additional accounts or third-party installation is necessary."
So do we still need to install Pega Chat servers separately along with Pega 7.4 to leverage the "WebChat channel" interface. My issue is when I launch my test web page I am not getting the Chat window. Any suggestion will be really helpful.
PFB the code for the test page.
<html>
<body>
<h1>Test Pega Chat</h1>
<!-- ********************** Begin Pega content ********************** -->
<script src ='http://XX.XX.XX.XX:8080/prweb/CTSFS?pyActivity=pzIncludeMashupScripts'></script>
<div data-pega-gadgetname ='PegaGadget'
data-pega-action ='createNewWork'
data-pega-action-param-classname ='Work-Channel-Chat'
data-pega-action-param-flowname ='pyStartCase'
data-pega-action-param-model =''
data-pega-isdeferloaded ='false'
data-pega-applicationname ='CAPONE'
data-pega-threadname ='STANDARD'
data-pega-systemid ='pega'
data-pega-resizetype ='stretch'
data-pega-url ='http://XX.XX.XX.XX:8080/prweb/CTSFS/PRChat'
data-pega-redirectguests ='true'
data-pega-action-param-parameters ='{"channelId":"bot5d0c54dae646474bbce89990b9526d01"}' ></div>
<!-- ********************** End Pega content ********************** -->
</script>
</body>
/html>
Evonsys
CA
Hi Kaustav,
Please try to host this web page in the application server. And try accessing that page via a browser.
Thanks,
Jinath
-
Dat Thanh Diep
Pegasystems Inc.
US
Hi Jinath, What is the path/folder to host the web page in app server? Also, the Zip file has .js files as well: Where will they be hosted? RD.
Evonsys
CA
Hi RD,
In our case we have the ChatBot folder which includes the html and javascript files. We have tomcat web application server. We have hosted this folder inside tomcats webapps folder.
Thanks,
Jinath
Areteans
AU
If you have not implemented any authentication and just want to test this you need to pass a chatbot operator id and password in the PegaHelperExtension.js file. For example your chatbot operator ID is "ChatbotOperatorID" and password is "rules" then update the below function. These two lines are commented originally.
Pegasystems Inc.
US
Hi Kaustav,
Were you able to resolve the original issue? Did you host the webpage on app server? Any feedback would be helpful, since we are trying to access WebChat Interface from outside. Followed the steps per this article: https://community.pega.com/knowledgebase/articles/configuring-web-chatbot-widget. Next, want to deploy.
Regards,
RD.
Evonsys
CA
Hi RD,
There is a seperate OOTB application for WebChat which includes specific rulesets related to webchat. Use this application as a built on application in your application. Then configure a user to launch the web chat configuration portal where you can add a chatbot and generate and download the mashup code.
I hope you have installed the Pega Chat Server. It should be up and running for you to configure a web chatbot using the webchatbot configuration portal.There you have to enter the chat server and chat queue information and save. Then you will be able to download the chatbot mashup code which includes html and js.
Let me know if you have any questions.
Thanks,
JInath