How to Build an IBM Digital Assistant for your WordPress

This article shows you how to have an IBM digital assistant for your WordPress. IBM Watson Assistant is a handy service for doing this. It allows visitors to get answers from a list of frequently asked questions.

Before you begin.

Be sure you you have an IBM Cloud account. If you don’t have one, click here.

Search and select in the catalog “Watson Assistant”.

ibm watson assistant chatbot dialog cloud

Select the region closest to you.

ibm watson assistant chatbot dialog cloud

Select the free plan “Lite” and click on “Create” button.

ibm watson assistant chatbot dialog cloud

First: Launch Watson Assistant service

In “Dashboard”, click on “Service”.

ibm watson assistant chatbot dialog cloud

Select the Watson assistant service. In my case I renamed it.

ibm watson assistant chatbot dialog cloud

Click on “Launch Watson Assistant.

ibm watson assistant chatbot dialog cloud

Second: Create an assistant

Create a new assistant with an enable preview link.

ibm watson assistant chatbot dialog cloud
ibm watson assistant chatbot dialog cloud

Third: Create a dialog skill

Click on “Add dialog skill”.

ibm watson assistant chatbot dialog cloud
ibm watson assistant chatbot dialog cloud

Click on the dialogue skill you created.

ibm watson assistant chatbot dialog cloud

Fourth: Add intents from a content catalog

On this page before to create your own intents go to “Content catalog”.

ibm watson assistant chatbot dialog cloud

Click “Add skill” for the category “General”.

ibm watson assistant chatbot dialog cloud

It allow your chatbot to greet users and end conversations with them.

Click on “Intents” and create your own by clicking on “Create intent”. Create intentions and combine them with sample examples to form your data. You can also import your intents with a CSV file.

ibm watson assistant chatbot dialog cloud

Fifth: Create a dialog

A dialog is a structure in the form of a tree that defines the flow of the conversation. It creates links between intents (what the user says) and responses (what the robot says).

Click on “Dialog”. By default there are two node: “Welcome” and “Anything else”.

ibm watson assistant chatbot dialog cloud

Click “Welcome” and change the default welcome message. When you finished, click on the “x” on the top-left.

ibm watson assistant chatbot dialog cloud

As you can see, this is my welcome message.

Click on “Add node” to create a new one. Select an intent in “If assistant recognizes” and write the answer in “Assistant responds”. When you finished, click on the “x” on the top-left. You can also import your dialog with a JSON file.

ibm watson assistant chatbot dialog cloud

Click on the “Try it” button to test your chatbot.

ibm watson assistant chatbot dialog cloud
ibm watson assistant chatbot dialog cloud

Sixth: Worpress plugin

Go to your WordPress site => “Plugins” => “Add new”.

worpress plugin ibm watson chatbot

Enter in the search bar “Chatbot with IBM Watson”.

worpress plugin ibm watson chatbot

Select “Watson Assistant” => “Set up Chatbot”. Click on the “Plugin Setup” tab and follow the instructions. Click on the “Save change”.

worpress plugin ibm watson chatbot

Go and test your own WordPress IBM digital assistant.

You can also go to my Github to check the CSV and JSON files here.

Share this article if you think it can help someone you know. Thank you.

-Steph

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.