Embedding a chat window for the Legacy Webchat channel
Generate mashup code for your Legacy Webchat channel and embed it on an external website like a webpage. The webpage displays a chat window where users can interact with a Pega Platform application, for example, to obtain a list of commands or open a case.
To generate the mashup code for a website, specify a URL address for your Pega Platform application so that the system knows where to connect during a chat conversation.
- In the navigation pane of App Studio, click Channels.
- In the Current channel interfaces section, click the icon that represents your existing Legacy Webchat channel.
- In the Legacy Webchat channel interface, click the Mashup tab.
- In the Mashup URL field, enter the URL for your Pega Platform application.
- Click Save, and then click Generate.
- Copy and save the generated code from the Mashup code text area, for example, click Copy to clipboard.
- Embed the mashup code from step 6 on a webpage that will be used as an IVA for Legacy Webchat.
Previous topic Creating a Legacy Webchat channel Next topic Customizing the Legacy Webchat channel