Question
Pegasystems Inc.
US
Last activity: 18 May 2021 7:03 EDT
Best Way to Test Chatbot with Locally Running React App
Hi,
I have a customer who is testing out the capabilities of Pega Chatbot. They have created a chatbot in the CS WSS application and under the 'self-service configuration' tab have created a new mashup. They can download the package of sample files to embed it in a webpage, however when they attempt to test it on their locally running React application they are told that they need to enable third party cookies for chatbot to work.
- Third party cookies are completely enabled
- This application is running on Node.js, so it should be considered a legit application at runtime.
What is the best practice to testing a chatbot in a locally running application? They have developers who are working on React application, or Angular applications that need to be able to actually see the chatbot run when they test it. Any documentation or links would be helpful.
Thanks!
@NickThomas Hi Nick, the WSS application that all the SCs use to demo the Chatbot feature is a React based Single Page Application. That means that running the Chatbot in such a deployment is definitely supported. One reason they may see the third party cookie message is that they are using a file system based URL instead of a location based URL. I have seen that happen when you unzip the folder on the desktop and try to open the HTML file directly.
If that's the case, I'm not sure what could cause that error. What version of Pega and CS are they running?