# Copilot Agents

Copilot agents can be integrated into chat using the Copilot Agent block in an IVR.

Follow the steps below to setup the Copilot Agent.

#### Copilot Studio Agent Creation:

1. Create and configure a Copilot agent for your specific scenario <https://copilotstudio.microsoft.com/>
2. Topics tab | All filter | Select Escalate
3. Delete the Message block (second block)
4. Select the + (Add node) button below the Trigger block | Topic Management | Transfer conversation
5. Save
6. Agent settings | Security | Authentication | Select No Authentication
7. Agent settings | Security | Web channel security | Copy one of the secrets
8. Publish the Copilot Agent

#### Contact Center Configuration:

1. Contact Center | Configuration | Copilot Agents | Add
2. Give the Copilot Agent a name. Typically, this would match the name of the agent in Copilot Studio.
3. The Description field is optional.
4. Paste the secret copied in step 3 in the Direct Line Secret field.
5. Save

Now the Copilot agent will be listed as an option in the Copilot Agent block in the IVR.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cc.docs.landis.cloud/administration/copilot-agents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
