In this tutorial, you walk through how to link your bot to Conversational Cloud.

Watch the video


Step 13: Create a bot user

In this step, you create a new user agent and skill for the bot, create a new engagement for web messaging, and connect the bot agent to the engagement.

  1. Click on the User Management icon along the left side of the Conversational Cloud page.

  2. On the Users tab, click + Add user in the lower-left corner.
  3. Fill out the Add user form with the following user details:

    • User type: Bot
    • Login name: Getting Started Bot
    • Email: Your email address
    • Nickname: Getting Started
    • Name: Getting Started Bot
    • Choose login method: API key
    • Api key: Generate API key
    • Assignment > Assign Profile: Agent
    • Skills: Bot

    By typing in the skill name Bot, a new skill with the name bot is created.

  4. Click Save.

Step 14: Create an engagement

  1. Click the Campaign Builder icon along the left side of the Conversational Cloud page.
  2. Click + Add Campaign in the lower-left corner.
  3. On the page that appears, specify the following:

    • Campaign name: Enter "Getting Started."
    • Campaign goal: Click this, select "Interact with consumers" on the page that appears, and click Done.
    • Engagement: Click + Add engagement. For the engagement source, select "Web." In the gallery that appears next, select a messaging template, and click Next. In the resulting Engagement Settings, select "Messaging" for the Conversation type. For Routing, select "Specific skill," and then select the "Bot" skill.

  4. Click Next.
  5. In the Engagement Studio, click Next.
  6. In the Engagement Window Library, click Done.
  7. Click Publish in the upper-right corner. Then click Publish again to confirm the action.

Step 15: Add the agent connector

  1. Navigate back to the Getting Started bot in Conversation Builder.
  2. Click Agent Connectors in the menu bar in the upper-left corner.
  3. Click Add Agent Connector in the upper-right corner.
  4. In the Add Agent Connector dialog box, specify the following based on the bot user you created.

    • Agent User ID: Getting Started Bot
    • Role: Agent
    • Conversation Type: Messaging
    • Deploy to: Demo

  5. Click Save.
  6. As a result, you will see a row on the Agent Connectors page listing your new bot agent. Select the Start button on that row to start the agent connector. This fully deploys the bot.

    It might take a few minutes for the connection to be established.

    To view more details about the connector, move your mouse over the "i" icon beside Details.

    LivePerson recommends that, when you connect your bot to Conversational Cloud in a production environment, you deploy at least two Conversational Cloud agent connectors for a single bot. This is so the second can serve to support failover if the first goes down. Additionally, if you have traffic considerations, you might want to deploy three or more. A good baseline is no more than 50 concurrent conversations per agent connector (e.g., deploy 4 connectors to support 200 concurrent conversations).

Step 16: Test the deployment

In this step, you'll be testing with Messaging, so you'll be using this test page. When you test with Chat, you can use this test page, adding your account number to the URL.

  1. In a browser, navigate to the Messaging test page.

  2. Enter your account number and optionally a username (just your first name will do fine), and then click Update.
  3. After a moment, you will see a Messaging "call to action," which corresponds to what we selected in the Campaign Builder. Click the Messaging call to action.
  4. Start the bot by entering ‘hi’ or ‘hello.’
  5. Test the bot's functionality as you would in Conversation Builder's Preview.

    Congrats! You’ve successfully deployed your automation to a demo environment.

What's next?

Continue on to the next tutorial in the series.