> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arlet.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Copilot Studio

> How to connect Arlet with Microsoft Copilot Studio

<Note>
  Requires a Microsoft work account and a Copilot Studio license (or trial).
  Using MCP servers requires the agent to use generative orchestration, and is
  not available in Copilot Studio in Teams.
</Note>

### 1. Prepare an agent

1. Sign in to [Copilot Studio](https://copilotstudio.microsoft.com/) with your work account and click **New agent** on the **Agents** page (or open an existing agent to add Arlet to it)

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/1.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=c25528902a43221cb3de5e3c73734bef" alt="Agent list" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="1136" height="722" data-path="images/copilot_studio/1.png" />

2. In the agent editor (**Build** tab), click **+** next to **Tools** in the right panel

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/2.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=cd08fcdd0a651b7af20f49b97c8204f0" alt="Agent editor" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="1138" height="726" data-path="images/copilot_studio/2.png" />

### 2. Add the MCP server

1. When the **Add tool** dialog opens, click **+ Add** at the top right

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/3.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=dad38884557f7a4c73d32d4449b6c8c4" alt="Add tool dialog" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="807" height="632" data-path="images/copilot_studio/3.png" />

2. Select **Model Context Protocol (MCP)**

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/4.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=98633b44b2c8ce715b30e27f35c32dee" alt="MCP option in the add menu" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="317" height="152" data-path="images/copilot_studio/4.png" />

3. Fill in the **Add MCP server** form and click **Add**:

| Field              | Value                                                                                                |
| ------------------ | ---------------------------------------------------------------------------------------------------- |
| Server name        | `Arlet`                                                                                              |
| Server description | A description of Arlet (e.g. `Arlet is a platform for creating, hosting, and managing MCP servers.`) |
| Server URL         | `https://mcp.arlet.dev/mcp/`                                                                         |
| Authentication     | `OAuth 2.0`                                                                                          |
| Configuration type | `Dynamic (detected)`                                                                                 |

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/5.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=a874e16ccdb7577fce96c669d6d32f44" alt="Add MCP server form example" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="809" height="631" data-path="images/copilot_studio/5.png" />

<Note>
  The OAuth configuration is auto-detected from Arlet's server, so there is no
  need to enter a Client ID / Client Secret manually.
</Note>

### 3. Create a connection and authenticate

1. The **Select a connection** screen appears. At this point it is `Not connected`

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/6.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=33c219d008a8346f0bee233c2a58e30f" alt="Connection selection screen" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="808" height="632" data-path="images/copilot_studio/6.png" />

2. Select **Create new connection** from the connection dropdown

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/7.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=1e40fde5ccbc425d90581daa7106ef27" alt="Create new connection" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="272" height="117" data-path="images/copilot_studio/7.png" />

3. Click **Create** in the connection creation dialog

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/8.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=6e82ccf76befa3eef8ac3211b8860e16" alt="Connection creation dialog" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="727" height="623" data-path="images/copilot_studio/8.png" />

4. Arlet's authorization screen opens. Sign in with Google if you are not signed in, then click **Allow**

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/9.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=afda24df17129560d04c41554b9454e4" alt="Arlet authorization screen" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="610" height="610" data-path="images/copilot_studio/9.png" />

5. Once connected (a green check appears), click **Add** to add the tool to your agent

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/10.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=f77ae2e614fd413c99bc2d868dd09cab" alt="Selection screen after connection" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="806" height="631" data-path="images/copilot_studio/10.png" />

### 4. Publish and use the agent

1. Click **Publish** at the top right of the editor

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/11.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=5988907a0ff2142bbc5219aa6a4f6dda" alt="Publish button" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="138" height="42" data-path="images/copilot_studio/11.png" />

2. Select the channels to publish to (e.g. **Teams + Microsoft 365**) and click **Save and publish**. To use the agent in Microsoft 365 Copilot, check **Make agent available in Microsoft 365 Copilot**

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/12.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=0f1c292f18afd523c4e2d71f146bd33f" alt="Publish agent dialog" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="810" height="633" data-path="images/copilot_studio/12.png" />

3. Once published, open the agent from **See agent in Microsoft 365**

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/13.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=6d39045f1f3d4180f036ee0de24f360f" alt="Agent preview" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="424" height="173" data-path="images/copilot_studio/13.png" />

4. Click **Add** in the Microsoft 365 Copilot agent dialog

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/14.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=2b70215000b8916d98932c5687d7d68a" alt="Agent add dialog" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="714" height="671" data-path="images/copilot_studio/14.png" />

5. You can now chat with Arlet's tools in Microsoft 365 Copilot

<img src="https://mintcdn.com/nexascienceinc/0cswBeVmfX6Tdpee/images/copilot_studio/15.png?fit=max&auto=format&n=0cswBeVmfX6Tdpee&q=85&s=0b5f0dc8e9040d60fa0c55658ede69be" alt="Using the agent in Microsoft 365 Copilot" style={{ maxWidth: '70%', display: 'block', margin: '0 auto' }} width="1138" height="720" data-path="images/copilot_studio/15.png" />
