Working with Bots
Understand how to set up bots and integrate them with your application.
Understand how to set up bots and integrate them with your application.
You can set up bots for your Embed application. Once set up, they start listening for bot events or any commands sent by the user and perform relevant actions.
The Bots tab lets you view and manage the bots of your Embed Admin account. To start working with Bots, navigate to Settings > Bots.
Perform the following steps to create a new bot.
Click on the Add Bot button.
The Add New Bot window appears on screen.
Provide relevant details about the bot you want to add.
Bot Name: Provide a suitable name for the bot.
Bot Description: Provide a short description about the bot.
Bot Type: the type of bot you want to add.
As soon as you select a bot type, other fields related to the selected bot are rendered in the window.
Enter details for the additional fields that appear.
Click Add to create a new bot.
This adds the bot to your IBM webMethods Embed Admin account.
You can update or delete an existing bot.
To do so, navigate to Settings > Bots.
Here, you can see the list of all bots associated with your IBM webMethods Embed Admin account, along with the following details:
On the Bots screen, locate the bot you want to update.
Click on the associated Edit icon to update the bot details or click Delete icon to delete the bot. You can optionally publish the broadcast messages set while creating the bot to all the 1:1 bot spaces by clicking the broadcast icon.
Once you have created a bot, you can add existing solutions of your IBM webMethods Embed Admin account to a bot.
Navigate to Settings > Bots. You see the list of all available bots of your account.
Click the name of the bot to which you want to add a solution. You are redirected to the Manage Solutions and Commands window.
Click on Add New button on the top-right corner of the window. A new Add Solutions to Bot window appears on screen where you can see the list of existing solutions of your Embed Admin account along with their versions.
Select the checkbox given beside the solution name and click on Add.
This adds the selected solution(s) to the bot.
When you add solutions to a bot, you can view and manage them through the Manage Solutions and Commands screen.
To do so, perform the following steps:
Navigate to Settings > Bots> Bot_Name
Here, you can view all the solutions associated with the selected bot, along with the following details:
Once you have created a bot, you can add existing commands of your IBM webMethods Embed Admin account to it.
Navigate to Settings > BOT. You see the list of all available bots of your account.
Click the name of bot to which you want to add a command solution. You are redirected to the Manage Solutions and Commands window.
Click the Commands tab.
Add a command to the selected bot, click on Add New button on the top-right corner of the window. A new Add Commands to Bot window appears on screen where you can see the list of existing commands of your IBM webMethods Embed Admin account along with their versions.
Select the checkbox given beside the command name and click on Add. This adds the selected commands(s) to the bot.
To manage bot commands, a default bot plan and a default bot user is created for your tenant by the IBM webMethods Embed support team. The details of this default plan or user cannot be edited through the UI.
Click on the default bot user email, to see all the commands associated with it.
Once you have created a bot, you can add existing commands of your IBM webMethods Embed Admin account to it.
Navigate to Settings > BOT. You see the list of all available bots of your account.
Click the name of bot to which you want to add a command solution. You are redirected to the Manage Solutions and Commands window.
Click the Commands tab.
Add a command to the selected bot, click on Add New button on the top-right corner of the window. A new Add Commands to Bot window appears on screen where you can see the list of existing commands of your IBM webMethods Embed Admin account along with their versions.
Select the checkbox given beside the command name and click on Add. This adds the selected commands(s) to the bot.