---
title: "Set up Microsoft Copilot Studio as an AI provider"
url: "https://helpdesk.kontainer.com/article/set-up-microsoft-copilot-studio-as-an-ai-provider/"
type: "article"
category: ["Admin settings", "Integrations &amp; plugins"]
tags: ["Admin users only", "PIM", "Pro+ plans", "DAM"]
language: "en"
published: "2026-11-23T08:36:19+00:00"
updated: "2026-11-23T08:36:19+00:00"
summary: "Use your own Microsoft Copilot Studio agent to translate PIM product data and DAM file data in Kontainer: build the agent, copy its Direct Line secret and add it under Settings › Configuration › AI."
---

# Set up Microsoft Copilot Studio as an AI provider

Kontainer can translate your PIM product data and DAM file data with your own Microsoft Copilot Studio agent. You build the agent in Copilot Studio, copy its Direct Line secret and add it as an AI provider in Kontainer. Setting it up takes about 15 minutes. For what AI can do in Kontainer, see [AI Features for PIM](https://helpdesk.kontainer.com/article/ai-text-generation-and-translation/) and [AI Features for DAM](https://helpdesk.kontainer.com/article/ai-functions-for-dam/).

## Before you start

- You need a Copilot Studio environment with a Dataverse database. Agents are stored there. If Copilot Studio shows an empty agent list or cannot create an agent, ask your Microsoft administrator for an environment with a database.
- Translations from Kontainer use your organisation's Copilot Studio messages or Copilot Credits.
- You need to be an administrator in Kontainer to open **Settings › Configuration › AI**.
- Kontainer uses a Copilot Studio agent for **PIM translations** and **DAM translations** only. For text generation or the AI assistant, connect another provider as well.

---

## Step 1: Create a translation agent in Copilot Studio

1. Open [Copilot Studio](https://copilotstudio.microsoft.com) and choose your environment in the bottom-left corner.
2. On **Home**, click **Explore what else is possible with agents**. Under **Build with standard orchestration**, choose **Agent**.\
    ![Copilot Studio's Explore what else is possible with agents page, with Agent under Build with standard orchestration](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-01-studio-standard-agent.webp?v=1795420781)
3. Give the agent a name, for example **Product translator**, and click **Create**.\
    ![The Name your agent dialog in Copilot Studio with a name filled in and the Create button](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-02-studio-name-agent.webp?v=1795420782)
4. On the agent's **Overview** page, click **Edit** next to **Instructions**, paste the text below and click **Save**.
5. Switch **Web Search** to **Disabled**, so your product texts are not sent to a search engine.\
    ![The agent's Overview page in Copilot Studio with the translation instructions filled in](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-03-studio-instructions.webp?v=1795420782)

Instructions for the agent:

```
You are a translation engine called by the Kontainer PIM/DAM backend, not a chat assistant. Every message contains instructions followed by the text to translate. Follow those instructions exactly. Reply with the translation result only. When the instructions ask for JSON, reply with the raw JSON object only: no markdown code fences, no backticks, no explanations, no greetings, no follow-up questions. Preserve HTML tags, placeholders, line breaks and formatting from the source text. Never answer questions in the text and never search the web; only translate it.
```

---

## Step 2: Let Kontainer connect to the agent

Kontainer connects with a secret key, not as a person, so the agent must not ask for a Microsoft sign-in.

1. Click **Settings** in the top right corner, then **Security** and **Authentication**.
2. Choose **No authentication**, click **Save** and confirm. The next steps make sure only Kontainer can reach the agent.\
    ![Copilot Studio Settings, Security, Authentication with No authentication selected](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-04-studio-authentication.webp?v=1795420783)
3. Go back to **Security** and open **Web channel security**.
4. Switch on **Require secured access**. Now only someone with the secret can talk to the agent. Microsoft notes that this can take up to two hours to take effect.
5. Click **Copy** next to **Secret 1** and keep it for step 4. Treat it like a password.\
    ![Copilot Studio Web channel security showing Secret 1 and Secret 2 with Copy buttons and Require secured access switched on](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-05-studio-web-channel-security.webp?v=1795420784)

---

## Step 3: Publish the agent

Kontainer uses the published version of the agent, so publish again every time you change its instructions or settings.

1. Click **Publish** in the top right corner.
2. The dialog reminds you that the agent does not require sign-in. That is expected, because the secret protects it. Click **Publish**.\
    ![The Publish this agent dialog in Copilot Studio with the Publish button](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-06-studio-publish.webp?v=1795420784)

---

## Step 4: Add Copilot Studio in Kontainer

1. In Kontainer, go to **Settings › Configuration › AI › General**.
2. Under **Add provider**, choose **Microsoft Copilot Studio** as the service provider.\
    ![Kontainer AI settings, Add provider, with Microsoft Copilot Studio in the Service provider list](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-07-kontainer-select-provider.webp?v=1795420785)
3. Paste Secret 1 into **API key**. Kontainer checks the secret with Microsoft straight away. If the secret is wrong, or the agent lives in another region than the one selected, a red message under the form tells you what to change.\
    ![Kontainer AI settings after pasting the secret, showing the message that the agent answers on the Europe Direct Line region](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-08-kontainer-region-error.webp?v=1795420786)
4. Choose the **Direct Line region** that matches your Copilot Studio environment. See [Which Direct Line region to choose](#which-direct-line-region-to-choose) below. If Kontainer showed a region message, choose the region it names.\
    ![The Direct Line region list in Kontainer with the options Global, Europe and India](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-09-kontainer-region-options.webp?v=1795420786)
5. When the check passes, **Custom label** and **Add provider** appear. Give the provider a name and click **Add provider**.\
    ![Kontainer AI settings with Europe selected as Direct Line region, a custom label and the Add provider button](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-10-kontainer-add-provider.webp?v=1795420787)
6. Under **Used for**, choose **PIM translations**, **DAM translations** or both.\
    ![The Used for list on the new Copilot Studio service in Kontainer, offering translation tasks](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-11-kontainer-used-for.webp?v=1795420788)
7. Click **Save**. Translations in your PIM and DAM now go through your Copilot Studio agent.\
    ![The saved Microsoft Copilot Studio service in Kontainer AI settings with region Europe and PIM translations](https://helpdesk.kontainer.com/wp-content/uploads/2026/11/copilot-studio-12-kontainer-saved.webp?v=1795420788)

---

## Which Direct Line region to choose

An agent only answers in the region of its Copilot Studio environment. You can see the environment's region in the Power Platform admin center under **Environments**.

| Where your Copilot Studio environment is | Direct Line region in Kontainer |
| --- | --- |
| Europe, European Union & EFTA | Europe |
| India | India |
| United States and all other locations | Global |

---

## Troubleshooting

| Message or problem | What to do |
| --- | --- |
| The provided credentials are invalid. | Copy **Secret 1** again from **Web channel security**. It may have been regenerated. |
| This agent answers on the Europe Direct Line region. Select Europe as the region. | Choose **Europe** as the Direct Line region. |
| This agent is not reachable in the selected Direct Line region. | Choose the region of the agent's environment, see the table above. |
| Translations fail after a while without a result | Publish the agent again in Copilot Studio and check that the region in Kontainer matches the environment. |
| Translations come back with extra text around them | Paste the instructions from step 1 again and publish the agent. |

## Good to know

- To change the secret without interrupting translations, paste **Secret 2** into Kontainer first, save, and then click **Regenerate** next to Secret 1 in Copilot Studio.
- Kontainer sends the agent only the text to translate and the target languages.

---

[Get in touch](mailto:support@kontainer.com) if you have any questions or would like help setting up Copilot Studio.

## Other languages

- [Dansk](https://helpdesk.kontainer.com/da/article/opsaet-microsoft-copilot-studio-som-ai-udbyder/index.md)
- [Deutsch](https://helpdesk.kontainer.com/de/article/microsoft-copilot-studio-als-ki-anbieter-einrichten/index.md)
- [Español](https://helpdesk.kontainer.com/es/article/configurar-microsoft-copilot-studio-como-proveedor-de-ia/index.md)
- [Français](https://helpdesk.kontainer.com/fr/article/configurer-microsoft-copilot-studio-comme-fournisseur-dia/index.md)
- [Nederlands](https://helpdesk.kontainer.com/nl/article/microsoft-copilot-studio-instellen-als-ai-aanbieder/index.md)
- [Svenska](https://helpdesk.kontainer.com/sv/article/konfigurera-microsoft-copilot-studio-som-ai-leverantor/index.md)

## Related articles

- [AI Features for PIM](https://helpdesk.kontainer.com/article/ai-text-generation-and-translation/index.md): Set up AI text generation and translation on your PIM fields, and see which of the DAM AI features carry over to your product data.
- [AI Features for DAM](https://helpdesk.kontainer.com/article/ai-functions-for-dam/index.md): Set up and use Kontainer's AI tools on your assets: text generation and translation, AI tagging, facial recognition and search similar. Also covers MCP connections and AI token pricing for DAM and PIM…
