Exercise - Build an agent in Microsoft Copilot Studio with the new AI capabilities

Completed

In this unit, you create an initial agent by using Microsoft Copilot Studio that uses natural language to respond to questions.

Create an agent

  1. Navigate to Microsoft Copilot Studio.

Important

Make sure that you're in the correct environment.

  1. Select Create from the left navigation pane and select the New agent tile.

Note

The Create an agent wizard opens. This wizard helps you set up your agent by naming it, selecting the language, and also optionally choosing if you want to boost your conversations with generative answers.

Screenshot of Create in Copilot Studio portal.

  1. Select Skip to configure.

    Screenshot of Create with prompt in Copilot Studio portal.

  2. In the Name text box, enter Real Estate Booking Service

    Screenshot of Details pane in Copilot Studio portal.

  3. In the Description text box, enter Create bookings for real estate properties

  4. In the Instructions text box, enter Create an agent for topics relating to creating bookings for real estate properties

  5. Select English for Language.

  6. Select the three dots next to the Create button in the top-right of the screen and select Edit advanced settings.

  7. Select the Bookings solution.

  8. Select Save.

  9. In the top-right of the screen, select Create.

  10. In the Test pane, enter How do I make a booking?

Configure Security

  1. Select Settings in the top-right of the screen.

  2. Select the Security tab.

  3. Select the Authentication tile.

  4. Select No authentication.

  5. Select Save.

  6. Select Save.

  7. Select Close.

  8. Select your agent in the Agents pane on the left-hand side of the screen to return to the Overview tab.

Remove topics

Sample topics are included with new agents. These need to be removed. You can also disable system topics that you do not require.

Delete sample topics

  1. Select the Topics tab and select Custom.

    Screenshot of Topics tab in Copilot Studio portal.

  2. Select the three dots next to the Lesson 1 topic and select Delete.

    Screenshot of Delete topic in Copilot Studio portal.

  3. Select Delete.

  4. Repeat the delete for Lesson 2 and Lesson 3.

Disable system topics

  1. Select the Topics tab and select All.

  2. Toggle Enabled to Off for the Sign in topic.

Test the agent

Before you can test an agent, it needs to publish. Select Publish and select Publish again.

Demo Website

The Demo website allows users without a license to test your agent. You can provide them with the URL to the demo website.

  1. Select the three dots next to the Settings button in the top-right of the screen and select Go to demo website.

  2. In the Type your message text box, enter What information is needed to book a viewing for a real estate property?