This blog will explain how you can embed bot created in Power Virtual Agent to PowerApps Portal.
Follow Below steps to achieve this:
Steps to get the URL of bot:
- Login to Power Virtual Agents
- Go to Manage -> Channels

- Select Custom Website

- copy only the URL of the iframe snippet.

src= "https://powerva.microsoft.com/webchat/bots/bbe751c4-8ed3-46a3-974e-a51f5a"
Steps for embedding bot in PowerApps Portal
- Go to PowerApps portal studio
- Select the webpage (page) on which you want to embed the bot.
- Go to Components -> Select Iframe

- After Adding Iframe update the properties of Iframe.
Link: paste the URL which we copied from Power virtual agent.
Example: https://powerva.microsoft.com/webchat/bots/bbe751c4-8ed3-46a3-974e-a51f5a
- After Adding Link, you will see bot

- Browse the website to interact with bot.


This step by step procedure will help you to embed bots created in power virtual agent in powerapps portal.