# Microsoft 365 Copilot (https://webmetic.de/docs/en/ai-assistant/setup/microsoft-copilot)

Microsoft 365 Copilot uses Webmetic through an agent that you create in Copilot Studio. Copilot Studio only runs the agent when your environment has Copilot Credits.

What you need beforehand is listed under [Before you start](https://webmetic.de/docs/en/ai-assistant/setup#before-you-start).

1. Open [Copilot Studio](https://copilotstudio.microsoft.com) and click **Agent** on the home page. Give the agent a name, for example "Webmetic Assistant".
2. Click **+** next to **Tools**. In the **Add a tool** window, click **Add**, then **Model Context Protocol (MCP)**.

   ![The Add a tool window with the Add menu open and the entry Model Context Protocol (MCP)](https://webmetic.de/docs/media/en/light/copilot-tool-hinzufuegen.webp)

3. Enter "Webmetic" under **Server name** and describe in one sentence under **Server description** what the agent uses Webmetic for. Enter this address under **Server URL**:

   ```text
   https://mcp.webmetic.de/mcp
   ```

4. Under **Authentication**, select **OAuth 2.0**, and under **Configuration type**, select **Dynamic (with discovery)**. Click **Add**.

   ![The Add MCP server window with name, description, server address, OAuth 2.0 and Dynamic (with discovery)](https://webmetic.de/docs/media/en/light/copilot-mcp-server.webp)

5. In the **Select a connection** window, click the arrow next to **Connection**, then **Create new connection**. Then click **Create**.

   ![The window for creating the connection to Webmetic with the Create button](https://webmetic.de/docs/media/en/light/copilot-verbindung.webp)

6. As soon as the page **Webmetic verbinden** opens, enter your **E-Mail-Adresse** and **Passwort** and click **Anmelden und verbinden**. The page calls Copilot Studio "Credential Manager", because Copilot Studio signs in to Webmetic under that name.
7. In the **Select a connection** window, click **Add**. Webmetic now appears under **Tools**.

   ![The agent in Copilot Studio with Webmetic under Tools](https://webmetic.de/docs/media/en/light/copilot-agent-tools.webp)

So that the agent appears in Microsoft 365 Copilot and in Teams, click **+** next to **Channels**, select **Teams + Microsoft 365** and publish the agent with **Publish**.

## Next steps [#next-steps]

- [Check the connection](https://webmetic.de/docs/en/ai-assistant/setup#check-the-connection): Ask a first question to test that the assistant fetches your data.
- [Example questions](https://webmetic.de/docs/en/ai-assistant/example-questions): Questions for sales and marketing that the assistant answers from your data.
