Generating the Web Chatbot channel mashup code
You create a Web Chatbot channel interface so that users can use standard chat capabilities from an external website to interact with a Pega Platform application, for example, to obtain a list of commands or open a case. To do so, you must generate mashup code for the channel. This mashup code is then embedded on a separate website so that a Pega Intelligent Virtual Assistant for Web Chatbot is available for users.
To generate mashup code for a Web Chatbot channel interface, you must provide a URL to a Pega Platform application instance. This information is needed so that the embedded code on a website includes information about where the Pega Intelligent Virtual Assistant for Web Chatbot connects.
- Open a Web Chatbot channel interface. For more information, see Configuring the Web Chatbot channel.
- Click the Mashup tab.
-
In the Mashup URL field, enter the URL for a Pega Platform
instance, for example:
https://sample.pega.com:443/prweb
- Click Save.
- Click Generate.
- Copy the generated code from the Mashup code text area, for example, click Copy to clipboard.