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 13 Next »

Kbot is designed to improve the ServiceNow customer experience and is not aimed at duplicating information that is already defined in Snow. This page describes how to configure your environment.

This content is targeted to the administrators who are familiar with the ServiceNow concepts. In particular, we will cover OAuth2 authentication, portal links, and sys_class_name.

Snow authentication

Configure the Snow OAuth2 authentication, so the users can authorize easily. To make Kbot propose the Snow authentication to users, you must register it:

1. Log in to the admin view of the ServiceNow portal.

2. Navigate to the System Oauth section in the menu on the left side of the window and click Application Registry to create a provider.

3. Select Create an OAuth API endpoint for external clients.

4. Configure the provider. Add the URL of the bot as a callback, typically something like: https://yourcompany.konverso.ai.

Once you have finished the provider configuration, you can obtain Client ID and Client secret.

Portal links

The bot must know which portal you are using to propose links to users. Retrieve sys_id of your portal from the Portal view, and set it in the following configuration:

snow_portal_sys_id = f1226637dbed8b0014c99ee3db9619f1

Kbot uses the knowledge base configured in the portal by default, but you can force the chatbot to use a particular knowledge base. To do so, define the snow_kb_sys_id parameter:

snow_kb_sys_id = 15c9c81cdbe9cf00e386f3731d96195d

Page mapping class

The portal might define a special “page” for displaying particular types of ServiceNow objects. The mapping is defined in the configuration variable snow_sys_class_name_to_page in the following format:

snow_sys_class_name_to_page = <sys_class_name>:<page_name>[,<sys_class_name>:<page_name>]*

Use the wildcard * to define the fallback page.

See the sample of page mapping:

snow_sys_class_name_to_page = pc_hardware_cat_item:device, kb_knowledge:kb_article, sc_cat_item_guide:sc_cat_item_guide,
incident:incident, sc_req_item:request_item, change_request:change, dmn_demand:demand, *:sc_cat_item

Live chat

To enable the live chat, define the Queue you plan to use. This can be done with the setup of the following kind:

snow_chat_queue = d34cc972db798bc014c99ee3db961980

Once it is done, you need to define triggers. Please send a request to contact@konverso.ai, so the Konverso team will send you the code.

Portal widget

We recommend adding Kbot as a widget inside the Snow portal. To do so:

  1. Create an application inside Kbot for your new view. Call it ServiceNow (as an example) and enable only Snow OAuth2.

  2. Create a widget inside Kbot and configure the display parameters to fit your needs.

  3. Copy the widget code inside the portal.

Users are prompted to authorize once; after it is done, they do not need to log in. The authentication token is refreshed automatically.

  • No labels