Set up the IBM Watson Assistant
topic to run dialog skills (conversations created in IBM Watson Assistant) in the web-based
chat client. This topic returns information exchanged during the virtual agent conversation
to IBM Watson Assistant.
About this task
This topic runs an IBM Watson Assistant dialog in Virtual Agent. It doesn't require enabling Natural Language Understanding (NLU) or setting IBM Watson Assistant
NLU as the NLU service provider for Virtual Agent.
Procedure
-
In your ServiceNow
instance, update the watson_assistant.workspaceID system property.
-
In the navigation filter, enter sys_properties.list.
-
In the System Properties [sys_properties] table, locate the
watson_assistant.workspaceID property.
-
Replace the existing Value with the Workspace ID for your skill, and select Update.
-
Verify that the REST message for IBM Watson Assistant provides the correct authentication endpoint for your IBM skill:
-
Navigate to .
-
Select the IBM Watson Assistant record to open the REST Message IBM Watson Assistance form.
-
Confirm that the Endpoint field and the Endpoint column displayed on the Authentication tab have the correct endpoint URL for your IBM Watson
account.
-
In the Basic auth profile field on the Authentication tab, open the Assistant Profile record.
-
In the Basic Auth Configuration form, enter the Username and Password values from your IBM Watson Assistant Service Credentials, then select Update.
-
Publish the IBM Skill topic:
-
Navigate to , and then slide the discovery type toggle switch to NLU/keyword.
-
On the home page, select the IBM Watson Assistant topic to open the Topic Properties page.
Notice that the Keyword for this topic is IBM Watson Assistant and the Category is IBM.
-
In the Topic Properties page, select Publish to deploy the topic to your Virtual Agent chat widget.
-
Configure the default topic for the Virtual Agent chat widget in one of the following ways:
Important:
Use the sysparm_topic parameter only to load the given topic in the Service Portal chat client or when using the IBM Watson Assistant chat integrations (com.glide.cs.ibm.watson.assistant.topic and com.glide.cs.ibm.watson.assistant.topicV2 plugins). This parameter doesn’t allow users to start a new conversation or
transfer to a live agent. It also disables the context menu and doesn't support other third-party chat clients.