Add Power Virtual Agents chatbot
Power Virtual Agents is a no-code, guided graphical interface solution that empowers every member of your team to create rich, conversational chatbots that easily integrate with the Teams platform. All content authored in Power Virtual Agents renders naturally in Teams. Power Virtual Agents bots engage with users in the Teams native chat canvas. The IT administrators, business analysts, domain specialists, and skilled app developers can design, develop, and publish intelligent virtual agents for Teams without having to setup a development environment. They can create a web service, or directly register with the Bot Framework.
This document guides you on how to make your chatbot available in Teams through the Power Virtual Agents portal, and add your bot to Teams using App Studio.
Power Virtual Agents lets you create powerful chatbots that can answer questions posed by your customers, other employees, or visitors to your website or service.
These bots can be created easily without the need for data scientists or developers.
By adding your chatbot to Microsoft Teams, some of the data, such as bot content and user chat content, is shared with Microsoft Teams. It means that your data flows outside of your organization’s compliance and geographic or regional boundaries.
Make your chatbot available in Teams through the Power Virtual Agents portal
To make your chatbot available in Teams through the Power Virtual Agents portal, you must perform the following process steps:
To make the chatbot available in Teams
Publish the latest bot content
After creating a chatbot in the Power Virtual Agents portal, you must publish your bot before Teams users can interact with it. For more information, see Publish the latest bot content.
Configure the Teams channel
After publishing your bot, add the Teams channel to make the bot available to Teams users.
Generate an App ID for your chatbot
After adding the Teams channel to your chatbot, an App ID is generated in the dialog box. The App ID is a unique Microsoft generated identifier for your bot. Save the App ID to create an app package for Teams.
Add your bot to Teams using App Studio
If uploading custom apps is enabled in your Teams instance, you can use Teams App Studio to directly upload your chatbot and start using it immediately. To share your chatbot, you can request your admin to make your bot available in the tenant app catalog or you can send your app package to others and ask them to upload it independently.
Install App Studio in Teams
App Studio is a Teams app. Install App Studio from the Teams store that simplifies the process of bot creation and registration in Teams:
Select the app store icon from Teams instance, and search for App Studio.
Select the App Studio tile and select Install in the pop-up dialog box.
Create the Teams app manifest in App Studio
Bots in Teams are defined by an app manifest JSON file that provides the basic information about your bot and its capabilities. In App Studio, select Manifest editor, and select Create a new app.
Add your bot details
Complete all the required fields. For a full description of each field see manifest schema definition.
Set up your bot To set-up the bot, perform the following steps:
- Open the Bots tab.
- Select Setup > Existing bot and enter the name of your bot.
The following image depicts how to set-up an existing bot:
Add your App ID
To add your App ID, perform the following steps:
- Select Connect to a different bot id and paste the App Id you copied earlier.
- Select Scope > Personal > Save.
Add valid domains for your bot
This step is only required if your bot requires the user to sign in. Select Domains and permissions and in the Valid Domains field, provide the following input:
Test and distribute your bot
Open Test and distribute tab and select Install to add your bot directly to your Teams instance. Alternately, you can download the completed app package to share with Teams users or provide it to your admin to make your bot available in the tenant app catalog.
Start a chat
The set-up process for adding your Power Virtual Agents chat bot to Teams is complete. You can now start a conversation with your bot in a personal chat.
- Power Virtual Agents
- Create a chatbot for Teams with Microsoft Power Virtual Agents.
- Power Virtual Agents portal
- Publish your Power Virtual Agents bot
- Security and compliance in Microsoft Teams.