Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Web Widget is a piece of code that can be embedded into your Organization:s website to allow users to chat with your Bot.

To install the Web Widget on your Site/Webpage, download the Widget Code (luma-web-widget.zip) provided in the Configurations tab under the WebWidget tile.

To configure the Web widget on your web portal, do the following:

  1. Open the luma-web-widget folder.

  2. Open the index.html page of your web portal in a text editor. Update the details on the index.html page:

    1. Paste the contents of the luma-web-widget folder's index page into your index.html page.

    2. Paste the Header Code from the Web Widget configuration page

  3. Paste the Body Code from the Web Widget configuration page in the index.html.

    1. In the Script section of the Body code, update the Bot name, Display name, Client User ID, Secret Key, and Domain details.

  4. Save the index.html page and open the index.html page it in the web browser.

To learn more about troubleshooting the WebWidget refer to Troubleshooting the Web Widget.