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.
Click on the User Management icon along the left side of the Conversational Cloud page.
- On the Users tab, click + Add user in the lower-left corner.
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.
- Click Save.
Step 14: Create an engagement
- Click the Campaign Builder icon along the left side of the Conversational Cloud page.
- Click + Add Campaign in the lower-left corner.
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.
- Click Next.
- In the Engagement Studio, click Next.
- In the Engagement Window Library, click Done.
Click Publish in the upper-right corner. Then click Publish again to confirm the action.
Step 15: Add the agent connector
- Navigate back to the Getting Started bot in Conversation Builder.
- Click Agent Connectors in the menu bar in the upper-left corner.
- Click Add Agent Connector in the upper-right corner.
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
- Click Save.
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 a browser, navigate to the Messaging test page.
- Enter your account number and optionally a username (just your first name will do fine), and then click Update.
- 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.
- Start the bot by entering ‘hi’ or ‘hello.’
Test the bot's functionality as you would in Conversation Builder's Preview.
Congrats! You’ve successfully deployed your automation to a demo environment.
Continue on to the next tutorial in the series.