Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 10 Next »

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.

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.

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

  • Width: the x_konve_kbot_test.kbot.widget.width parameter.

  • Height: the x_konve_kbot_test.kbot.widget.height parameter.

  • Chat window position:

  • Title background color: the x_konve_kbot_test.kbot.widget.color_title_bg parameter.

  • Title text color: the x_konve_kbot_test.kbot.widget.color_title_text parameter.

  • Resize button text: the x_konve_kbot_test.kbot.widget.label_resize parameter.

  • Close button text: the x_konve_kbot_test.kbot.widget.label_close parameter.

  • Minimize button text: the x_konve_kbot_test.kbot.widget.label_minimize parameter.

  • Refresh conversation on close: x_konve_kbot_test.kbot.widget.refresh_on_close parameter.

  • Make the chat modal:

Button appearance

  • Button text: the x_konve_kbot_test.kbot.widget.label_button parameter.

  • Button tooltip: x_konve_kbot_test.kbot.widget.label_tooltip parameter.

  • Button background color: the x_konve_kbot_test.kbot.widget.color_button_bg parameter.

  • Button background color on hover:

  • Button text color: the x_konve_kbot_test.kbot.widget.color_button_text parameter.

  • Button background color on hover:

  • Button position: the x_konve_kbot_test.kbot.widget.button_position parameter.

  • Tooltip hide timeout:

  • Display the button icon:

  • Hide button: x_konve_kbot_test.kbot.widget.buttonInvisible parameter.

  • Widget icon file: x_konve_kbot_test.kbot.widget.iconUrl parameter.

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.

Previously, you had to set the widget configuration in your ServiceNow environment. The old widget properties view in ServiceNow contained the settings.

Migrating from old widget

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, export the properties from the sys_properties table:

Application = "Virtual Agent for IT Service Desk"

  • No labels