In order to install a Webchat Plugin, we provide two different ways:

  • Install in Cognigy.AI
  • Install on webpage

Install in Cognigy.AI

There are two steps to do in order to use one of the released Webchat Plugins.

Copy Webchat Plugin File (URL)

  1. Open the Webchat Plugins Overview page
  2. Copy the link address of the wanted Webchat Plugin:

downloadWebchatPlugin.png

One can copy the link address of the Download button by right-clicking on it and then click Copy Link Address in the menu that will be opened by the web browser.

 

Paste Webchat Plugin File (URL)

  1. Login to Cognigy.AI
  2. Navigate to Endpoints:
    endpointsMenuItem.png
  3. Create a new Webchat Endpoint or use an existing one
  4. Scroll down and click on Webchat Configuration and paste the copied URL:
    pasteWebchatPluginLink.png

Install on webpage

Since the Cognigy Webchat is already embedded in a specific website, the Webchat Plugin (Bundle) JavaScript File can be imported inside the index.html.

Download Webchat Plugin File

  1. Open the Webchat Plugins Overview page
  2. Click on Download for the wanted Webchat Plugin:

downloadWebchatPlugin.png

Import Webchat Plugin File

  1. Open the index.html file of the webpage. It is the same index.html file where the Cognigy Webchat is embedded.
  2. Add the HTML import statement to the code:
<script src="./path-to/rating.webchat-plugin.js"></script>

Please make sure that you first import the Cognigy Webchat Widget and then the Cognigy Webchat Plugin that should be used. Please find more information about embedding the WebchatWdiget to a webpage here.

 


Comments

0 comments

Please sign in to leave a comment.

Was this article helpful?
0 out of 0 found this helpful