Configure the demo website and add the bot to your live website

Important

Power Virtual Agents capabilities and features are now part of Microsoft Copilot Studio following significant investments in generative AI and enhanced integrations across Microsoft Copilot.

Some articles and screenshots may refer to Power Virtual Agents while we update documentation and training content.

When publishing the bot to the web, you can publish to a prebuilt demo website (which you can use to share the bot with your teammates and stakeholders) and to your own live website.

Tip

When should I use the demo website and when should I use my own website?
You should use the demo website only to try out the bot and share it with your teammates or other stakeholders who want to try out the bot. It's not intended for production uses, for example, you shouldn't use it directly with customers.
You should publish and use the bot on your live website for production scenarios, such as a help bot on your help webpage for customers to interact with.

Prerequisites

Important

This topic contains Microsoft Copilot Studio preview documentation and is subject to change.

Preview features aren't meant for production use and may have restricted functionality. These features are available before an official release so that you can get early access and provide feedback.

If you're building a production-ready bot, see Microsoft Copilot Studio Overview.

A prebuilt demo website is automatically created for you when you publish your bot. Your teammates and stakeholders can use the demo website to try out the bot while you're building it. You might want to customize the demo site to guide your teammates' testing efforts. Publish the bot to your live website when it's ready for customers to use.

When should you use the demo website and when should you use your own website?

You should use the demo website only to try out your bot, or to share it with teammates and stakeholders who want to try it out. It's not intended for production use. You shouldn't give the URL to customers. Publish the bot on your live website for customers to use.

Customize the demo website

Edit the demo website's welcome message and trigger phrases as often as you like. The welcome message can explain the purpose of the testing and prompt your teammates for what to ask the bot.

  1. In the navigation menu, select Settings, and then select Channels.

  2. Select the Demo website tile.

  3. Under Welcome message, enter the message you want your teammates to see.

  4. Under Conversation starters, enter a list of trigger phrases.

    Trigger phrases are what initiate specific topics, so you could enter trigger phrases for topics that you want your teammates to test.

    Screenshot of demo website customization options.

Copy the demo website URL and share it with your teammates.

Add your bot to your website

When your bot is ready for customers, add it to your website as an IFrame code snippet. Your live website can be external or internal, like a SharePoint site. You can also add the bot to your Power Platform admin center.

  1. In the navigation menu, select Settings, and then select Channels.

  2. Select Custom website, and then either:

    • Select Copy to copy the embed code to the clipboard.
    • Select Share to email to open a compose window in your default email app, with the code snippet included.

    Screenshot of adding a bot to a custom website.

  3. Provide the snippet to your web developer to add the bot to your website.