From Bright Pattern Documentation
Jump to: navigation, search
• 日本語
• 5.19 • 5.3 • 5.8

<translate>

How to Integrate Bots with Chat

Bright Pattern Contact Center integrates with providers like Alterra and IBM Watson to enable chatbots to be used in your contact center services. In this article, you will learn how to integrate an IBM Watson Assistant (i.e., a conversational bot) with your configured chat service.

In How to Configure Web Chat, you learned how to set up a chat scenario, chat service, and chat scenario entry point to work together to display a chat widget on your website. A working chat widget connects a customer on a website to a live agent in your contact center.

When a bot is integrated with your chat services, customers can be connected to the bot, which can answer questions, provide assisted self-service, and connect to a live agent if needed. Even if the chat is routed to an agent, the integrated bot still runs in the background, ready to assist the agent by providing suggestions (i.e., suggested responses for the agent to select and use).

Prerequisites

This article assumes that you have:

  • Read and understand How to Configure Web Chat
  • Already created a working chat widget
  • Access to your company’s IBM Cloud account
  • Some understanding of how Watson Assistant works

Procedure

This procedure consists of the following concepts:

  • Create a bot in IBM Watson
  • Add an IBM Watson integration account
  • Create or choose a chat scenario that incorporates bot interactions
  • Create or choose a chat service for your bot
  • Link the chat scenario and service to your integration account
  • Test the chat

Step 1: Create a Bot in IBM Cloud

  1. If you haven’t already done so, sign up for an IBM account and launch IBM Cloud. IBM Cloud is the application where you will be developing and managing resources like Watson Assistant chatbots.

  2. Follow all the steps in IBM’s Getting Started tutorial in order to create a Watson Assistant instance. The Watson Assistant will be your bot, and you will be adding intents, entities, and a dialog to it in a workspace. For more information on Watson Assistant, see IBM’s API Reference.

Step 2: Get Your Watson Credentials

Your credentials are necessary for integrating Bright Pattern Contact Center with your Watson Assistant. You will be using these credentials in later steps to add an integration account.

  1. In your IBM Cloud console, get your Watson Assistant credentials from either of these two places:
    1. Watson Services > Assistant > Manage (for credentials in plain text)
    2. Watson Services > Assistant > Service Credentials (for JSON snippet)

  2. Copy the Url, Username, and Password for your Watson Assistant to a separate doc, such as a text file.


Watson Assistant credentials


Step 3: Add an Integration Account

Integration accounts are what allow your contact center to operate with third-party services.

  1. In the Contact Center Administrator application, go to Call Center Configuration > Integrations Accounts.

  2. Click the Add account (+) button to add a new integration account.

Add new integration account



  1. Select account type Bot / Chat suggestions engine and click OK.

Select "Bot / Chat suggestions engine"



  1. In the Bot / Chat suggestions engine type dialog, select Watson Conversation and click OK.

Select "Watson Conversation"



Properties

Integration account properties



Fill in the following fields:

IBM Watson Assistant > Workspaces
    • Copy your workspace ID from there.
Copy your workspace ID
  • Username - The username for your IBM account that you copied from your service credentials

  • Password - The password for your IBM account that you copied from your service credentials

  • Max API calls per day - The maximum number of calls that can be done each day; this limit is here to keep your account from being charged for additional calls beyond the first 1,000 that are included in a free account.

  • Maximum suggestions - The maximum number of suggestions (e.g., 3) that can be delivered to the Agent Desktop during active chat interactions. Suggestions are the bot-generated replies that agents can select and use during chats.

  • Test Connection - Click to be sure Bright Pattern Contact Center can connect to your Watson Assistant.
    • If the credentials are invalid, go back to the Url property and make sure you’ve entered it exactly as explained in this procedure.
    • Test until you see the success dialog.

Click Apply at the bottom of the screen to save your account properties.


</translate>

< Previous | Next >