Before you begin, please make sure to study the prerequisites
Note
Before you download and install the Copilot Studio Kit, ensure that you enable code components in your environment first.
Installing the Power Cat Copilot Studio Kit (Appsource)
- Navigate to Copilot Studio Kit in AppSource
- Click Get it now
- Sign-in if required
- You are presented with Install Copilot Studio Kit view
- From the drop-down list, select the environment where you want to deploy Copilot Studio Kit
- Carefully study the presented Terms and Statements, if you agree, check the boxes to indicate that and click Install
- Installation will begin
After the installation finishes, proceed with these post deployment steps:
- Go to make.powerapps.com
- Go to Solutions
- Select Default Solution
- Select Connection references
- Locate "Copilot Studio Kit - Dataverse" and open it for editing.
- Ensure all required fields are filled and the selected connection is valid. Create new connection to Dataverse as required.
- Click Save
Please see the common and optional configuration steps below.
- Download the latest version of the Power CAT Copilot Studio Kit managed solution by going to the latest GitHub Release below:
Power Cat Copilot Studio Kit Latest GitHub Releases
- Go to make.powerapps.com
- Select to the environment in which you want to install the Power CAT Copilot Studio Kit.
- Go to Solutions
- Select Import Solution
- Select Browse
- Select CopilotStudioAccelerator.zip
- Select Next
- After reviewing the solution information, select Next
- If prompted, create the required connections, and select Import.
- Leave "Conversation KPIs report" values as-is for now, you will be updating these in the later steps.
- Wait for the import operation to successfully complete.
If you have earlier version of Copilot Studio Kit installed and want to upgrade it to the latest version, follow these steps:
- Go to make.powerapps.com
- Select to the environment in which you want to install the Power CAT Copilot Studio Kit.
- Go to Solutions
- Select Import Solution
- Select Browse
- Select CopilotStudioAccelerator.zip
- Select Next
- Power Apps will recognize that this is an upgrade to an existing managed solution.
- Confirm that you want to upgrade the existing solution by clicking Next
- Leave "Conversation KPIs report" values as-is for now, you will be updating these in the later steps.
- Select Import
Note
While upgrading the Copilot Studio Kit, you might encounter the following error: "Solution "Power CAT Copilot Studio Kit" failed to import: ImportAsHolding failed with exception: Cannot delete attribute: cat_copilottestrunid from Entity: cat_CopilotTestRun since the attribute is not a custom field.".
This is a known issue that is being investigated. As a workaround, stage the upgrade before applying it. For detailed instructions, please see here.
Following steps are optional and required only if you plan to use the SharePoint Synchronization feature. You can also set these later at any time before using the feature.
Please note that the connection to the SharePoint should point to the source SharePoint site, and the Dataverse URL should point to the Dataverse instance associated with the (target) custom agents (where the content is synchronized to)
- Go to make.powerapps.com
- Go to Solutions
- Select Default Solution
- Select Connection references
- Locate "Copilot Studio Kit - SharePoint" and open it for editing.
- Ensure all required fields are filled and the selected connection is valid. Create new connection to SharePoint as required.
- Click Save
- Select Environment variables
- Locate and select Dataverse URL
- Replace placeholder in the Current Value with the actual Dataverse URL pointing to the Dataverse instance associated with your Copilot Studio agents, for example: https://org123.crm.dynamics.com/
- Click Save
Following steps are optional and required only if you plan to use the Agent Inventory feature. You can also set these later at any time before using the feature.
Please note that the visibility to the agents is limited and controlled by the connection references in the solution. Copilot Studio Kit - Power Platform for Admins is used to fetch the list of environments in the tenant and Copilot Studio Kit - Dataverse is used to gather the agent information from the environments. For full visibility, the connection references have to be configured with account having Power Platform admin role and system admin level permission to all the environments. Other accounts can be used as well, but the visibility of the agent inventory is limited to the environments the user has system admin access to.
- Go to make.powerapps.com
- Go to Solutions
- Select Default Solution
- Select Connection references
- Locate "Copilot Studio Kit - Power Platform for Admins" and open it for editing.
- This connection is used to list all the environments in the tenant. Use account with Power Platform Admin level permissions to get full visibility.
- Ensure all required fields are filled and the selected connection is valid.
- Click Save
- Locate "Copilot Studio Kit - Dataverse" and open it for editing.
- This connection is used to gather all the agent details from the environments. Use account with System Admin level permissions to all environments to get full visibility. Please note that this connection is used with other features in the Kit as well.
- Ensure all required fields are filled and the selected connection is valid.
- Click Save
Note
If you have not set up the environment variable for SharePoint Synchronization in the previous step, you don't have to enable the related flows (they start with Sharepoint Synchronization). This does not impact other features in the Kit.
- Navigate to Power Automate
- Make sure the environment with the Copilot Studio Kit is selected
- Select Solutions
- Select Copilot Studio Kit
- Select Cloud flows
- Make sure all the flows are enabled (Status = On)
- Enable any flows that are not enabled, in the following order
- Flows that end with "Grandchild"
- Flows that end with "Child"
- Rest of the flows as required, in any order
These steps are required only if you plan to use the embedded Conversation KPI dashboard in the Copilot Studio Kit.
During the steps, please make note of the following values:
- Workspace name
- Workspace GUID
- Report name
- Report GUID
- Download "Conversation KPIs.pbit" from the Copilot Studio Kit GitHub repository (November release)
- Open the "Conversation KPIs.pbit" file in the Power BI Desktop-application
- Enter the Dataverse URL as the "Environment URL" in the dialog that pops up and select Load (e.g. org3c23948.crm.dynamics.com, without the https:// prefix)
- If the question does not pop up for some reason, enter the "Environment URL" in Home->Transform data->Edit parameters
- Refresh data, sign in as required.
- Save and publish to a workspace - Make note of the Report name and Workspace name
- Navigate to "https://app.powerbi.com/" (Power BI service)
- Open the report you published and make note of the Workspace GUID and Report GUID that are present in the URL.
- Please note that if you are publishing in "My Workspace", the Workspace GUID is: 00000000-0000-0000-0000-000000000000
- Click "..." and select View semantic model
- Open File->Settings
- Verify that Data source credentials don't have any issues, sign-in to fix as required.
- Navigate to Refresh and set the refresh schedule to your liking.
In order to set up the embedded Conversation KPIs dashboard, you need to update the related environment variable with correct identifiers.
- Navigate to Power Apps and to the environment where you installed the Copilot Studio Kit
- Open Solutions and Default Solution
- Select Environment variables
- Locate and select Conversation KPIs Report
- Replace placeholders in the Default Value with the actual Workspace name, Workspace GUID, Report Name and Report GUID you noted down during the publishing process.
- Save
- Go to make.powerapps.com
- Select to the environment in which you want to install the Power CAT Copilot Studio Kit.
- Navigate to Apps.
- Locate and select Power CAT Copilot Studio Kit.
- Select Play.
- Bookmark the app (optional)