IBM Watson Integration

Getting started tutorial

This guide will allow you to integrate the Acquire platform with IBM Watson

Before you begin

A Watson service instance must be started first.

  1. Sign up for a free IBM Cloud account or log in with your existing account.

  2. Load the Watson Assistant page in the IBM Cloud catalog.

  3. The Watson service instance will be created in the default resource group. Please note if you wish to change the resource group change it at this stage as it cannot be changed later. However, this group is sufficient for the purposes of exploring the Acquire chat bot integration.

  4. If you're creating an instance for production use, which is more robust, then learn more about resource groups.

  5. Choose an appropriate region/location to deploy your instance in.

  6. Click Create.

Step 1. Open Watson Assistant

After creating a Watson Assistant service instance, the Watson Assistant dashboard will appear and allow you to manage it.

  1. Click Launch Watson Assistant. If you're prompted to log in, provide your IBM Cloud credentials.

Step 2. Create an assistant

  1. Click Create assistant to add an assistant.

  1. Click Create assistant.

Step 3. Create a dialog skill

A dialog skill is a container for the artefacts that define the conversation flow that your assistant make use of to engage with your customers.

  1. Click on your assistant tile to open the assistant.

  2. Click Add dialog skill and Create dialog skill.

You will then land on the Intents page.

Step 4. Add intents from a Content Catalog

Here you can add training data, that was built by IBM Watson, as further skills by adding intents from the Contents Catalog. By giving the assistant access to the General Content Catalog it allows the Chat Bot to greet the visors and conclude conversations with them appropriately.

  1. Click the Content Catalog tab.

  2. Find General in the list, and then click Add to skill.

You successfully started to build your training data by adding pre-built content from IBM.

Step 5. Build a dialog

A dialog defines your conversation flow in the form of a logic tree. It matches intents (what users say) to responses (what the bot says back). Each node of the tree has a condition that triggers it, based on the user's input.

We'll create a simple dialog that handles the greeting and ending intents, each with a single node.

Adding nodes to handle intents

Now let's add nodes between the Welcome node and the Anything else node that handle our intents.

1. Click the More icon on the Welcome node, and then select Add node below.

2. In the If assistant recognizes field of this node, start to type #General_Greetings. Then, select the #General_Greetings option.

3. Add the response text, Good day to you!

5. Click the More icon on this node, and then select Add node below to create a peer node. In the peer node, specify #General_Ending in the If assistant recognizes field, and OK. See you later. as the response text.

Step 6. Integrate with Acquire

Go to the Acquire’s Bot Section. Here you will find all the available third-party chat-bots. The option to install “IBM Watson Bot” will be listed in the Bot Store.

1. Click on the IBM Watson option from the Bot Store and a popup will be displayed. You will need a the following parameters ( “apikey” , “url” and “assistant_id”) to allow the chat widget to communicate with Acquire.

2. To find your “apikey” and “url”, navigate to the Dashboard of IBM Cloud and press on Services that is displayed. Click on the Watson service, It’ll navigate to IBM Watson Service Page. Copy your “apikey” and “url” and paste it to “Acquire” popup.

3. To find your “assistant_id”, Click on Launch Watson assistant button. It will display a list of all available assistants.

4. Select the "More" icon inside the assistant window and then click on settings.

5. Click on API Details tab, Copy “assistant_id” and paste it to “Acquire” popup window as shown below.

6. The IBM Watson Chat Bot is now setup and ready to be deployed. Press the install button.

7. You can use the “Trigger” filters to allow the Chat Bot to engage with your customers and answer visitor questions.

8. Finally, now you can navigate to your simulation page to test the new and improved Chatbot by entering the different types of questions that the system has been configured with.

Last updated