Versions Compared

Key

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

This page describes how to create a widget for your ServiceNow environment , and how to keep the previously configured settings in case you are migrating from older widget versions.

Table of Contents
minLevel1
maxLevel7

Key points

To add a widget on your ServiceNow portal:

  1. In Kbot, create and configure a widget.

  2. In ServiceNow, enable the widget by setting the host and the widget ID.

Creating a widget

To configure your widget, go to Configuration > Widget on your Kbot host and set the parameters. For more details on parameters, view this help page.

Info

In case you are migrating from old version of widget to the new one, you might want to keep the parameters you have defined earlier. To do so, you need to export the properties from the sys_properties table. Please, read more about it in the section below.

General settings

  • Name: enter the name of your widget.

  • Description: enter the description.

  • Application: select Snow Portal (/snow) for your ServiceNow widget.

...

Widget appearance and behavior

  • The width and height of the chat window (600x800 recommended), its colors and position.

  • Text of buttons.

  • Behavior: make the conversation refresh on close, or make the chat modal.

...

Button appearance

...

Text of the button and its tooltip.

...

Button colors for default and hover states.

...

Button position.

...

The tooltip hide timeout.

...

The button icon.

...

.

...

Widget icon file.

...

Copying ID

Click Save and copy the widget ID — you will need to enter it in ServiceNow later. The ID is available in the browser address bar (the last value after /), or in the Code for embedding area on the right side of the window.

...

Enabling the widget in ServiceNow

In ServiceNow, go to Virtual Agent for IT Service Desk > Properties and enter the host for your Kbot application and the widget ID.

...

Migrating from old widget

In older widget versions, you had to set the widget configuration in your ServiceNow environment:

...