Task 05: Generate a Power Pages self-service site for customers
Key tasks
01: Configure settings and publish the agent
-
Near the upper-right corner of the page, select Settings.

-
In the Settings menu, select Security.
-
Select Authentication.

-
Select No authentication, then select Save.

This will allow end user interaction with the agent from the chatbot on the Power Pages site you’ll be creating.
-
In the dialog, select Save.
-
Select the X near the upper-right corner of the Settings page to go back to the agent.

-
Near the upper-right corner of the page, select Publish.

-
In the dialog, select Publish.

You’ll use the published agent to incorporate it into a Power Pages site. You don’t need to wait for this to finish. Proceed to the next task.
02: Create a Power Pages site
-
In a new browser tab, go to Power Apps home page.
-
Near the upper-right corner of the page, verify it shows the Zava Retail - Dev environment.

Depending on screen resolution, you may need to select the globe icon to open the Select environment pane.

You may need to refresh the page for it to show the correct environment.
-
On the page, select Get started.
-
In the lower-right corner of the page, select Skip.

-
Move below the suggestions to the prompt box.
-
In the prompt box, enter:
A customer self-service site for tracking orders and returns
-
Select Build my site or Enter.
-
For the site details, enter the following:
Item Value Give your site a name Zava Customer PortalCreate a web address z-lab-@lab.LabInstance.Id
If you’re redirected to the home page with an error saying There are too many requests…, expand for alternative steps.
-
Wait a minute, then try entering the previous prompt again.

If you still receive an error, proceed with the following steps:
- Select the Start from blank tile.

If you receive an error stating This exceeds the limit of 3 development sites…, close the wizard then try again, as this is a transient error.
-
For the site details, enter the following:
Item Value Give your site a name Zava Customer PortalCreate a web address z-lab-@lab.LabInstance.Id -
In the lower-right corner of the page, select Done.

This will create a blank site and take you to the Power Pages design studio.
-
Observe the rest of the steps, then proceed to the next task.
-
-
In the lower-right corner of the page, select Next.
-
Observe the site it generates.
You can also move to the bottom of the page and select Try again for it to generate a new one.

-
In the lower-right corner of the page, select Next.
-
Observe the options it provides for quickly generating other pages.

-
In the lower-right corner of the page, select Done.
This will create the site and take you to the Power Pages design studio.

-
Observe the design studio.
03: Add the Zava Order & Returns Assistant agent to the Power Pages site
Documentation for adding an existing agent states it’s prelease documentation and is subject to change.
-
In the leftmost pane, select Set up.
-
In the Set up menu, under the Copilot section, select Add agent.

If you see a Your site URL is not public… error, refresh the page, then select Reload in the dialog.

-
Select Create agent.

This may take a few minutes to create.
If you see the following error, refresh the page, select Reload in the dialog, then try again:


-
Once created, select Enable agent on site.

-
Once enabled, in the leftmost pane, select Data.
-
In the Data pane, search for and select the
Site Componenttable.
-
Move through the table and select the checkbox for Bot Consumer.
-
On the top bar, select Edit row using form.


You’ll need to retrieve the schema name of the agent we configured earlier to modify this component. This will replace the default agent created in Power Pages.
-
Go back to your tab for Copilot Studio with the Zava Order & Returns Assistant agent page open.
-
Near the upper-right corner of the page, select Settings.

-
In the Settings menu, select Advanced.
-
Select Metadata.

-
Copy the value of Schema name.

-
Go back to the Site Component tab.
-
In the Content box, replace the current value of botschemaname by pasting the copied schema name.

Keep quotes (“”) intact.
-
On the top bar, select Save & Close.

-
Back in Power Pages, select Done in the dialog.
04: Preview the site
-
In the upper-right corner of the page, select Preview > Desktop.

This will open a new tab with the generated site.
-
In the permissions dialog, select Accept.
-
In the lower-right corner of the page, select the agent icon.

-
Select the chat box, which will load your Zava Order & Returns Assistant agent.
-
You can test similar prompts to what we tried previously to pull information for end users:
Hi, I'm Anika. My order number is ORD-50003. Can you tell me the status and expected delivery?
-
Close the tabs for the preview site and Power Pages.
-
In the Power Pages dialog, select Leave.
