The Web Widget is the out-of-the-box Chat channel provided by Serviceaide, that enables the end-users to interact with LumaVirtual Agent. It is a piece of code that can be embedded into your Organization:'s website or application to allow users to chat with your Bot and request available services.
To install and enable the Web Widget on your Site/Webpage, download in Luma Bot Builder, follow the below steps:
Navigate to the Bot Menu → Configurations → Channels tab.
Click on the Web Widget tile.
Download the Widget Code (luma-web-widget.zip)
.
Copy and retain the information in Secret Key, the Header Code, and the Body Code in a text editor tool.
Customize Welcome Screen settings.
Set User Reconciliation fields for Channel Authentication.
Click Enable/Save to enable Web Widget for your bot.
To configure the Web widget on your web portalwebsite, do the following:
Open the the downloaded luma-web-widget folder.
Open the index.html page of your web portal in a text editor. Update Copy the details on the index.html page:
Paste the contents of the luma-web-widget folder's index page into your index.html page.
Paste the Header Code from the Web Widget configuration page
Paste the Body Code from the Web Widget configuration page in the index.html.
In the Script section of the Body code, update the Bot name, Display name, Client User ID, Secret Key, and Domain details.
Save the index.html page.
Now test the web widget and launch your webpage.
A bot symbol now appears on the right-hand corner of the screen. Click on the symbol to open the index.html page in the web browseryour Luma Virtual Agent.
Execute a skill and verify if the bot performs the required action as required.
Your Web Widget is now ready.
An existing user is auto-authenticated by the bot and can instantly start interacting with the bot. New users or non-registered users are prompted to register. Once registration is done, the user can start communicating with Luma.
To learn more about troubleshooting the WebWidget refer to Troubleshooting the Web Widget.