> For the complete documentation index, see [llms.txt](https://docs.copia.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.copia.io/docs/git-based-source-control/integrations/discord.md).

# Discord

### Overview

Setting up the Discord integration is a quick and simple process of copying and pasting your webhook URL from Discord into the *Webhook* settings page in Copia.

### Configure Discord

First, ensure that Discord can receive notifications via a webhook from Copia. You can refer to [this guide](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks) to configure Discord to receive a webhook.

After creating a webhook, copy the webhook URL for the server or channel you want to receive messages at by clicking the \_Copy Webhook UR\_L button.

![](/files/yJaPSjf45E14ijC2CxMP)

### Create a Webhook in Copia

Choose the repository you want to create an integration for. Navigate to the *Settings* tab and choose the *Webhooks* section. Click on the *Add Webhook* button and select the *Discord* option.

![](/files/PPQseV1Bb9dbAqwG26v8)

Paste the Discord webhook URL into the Target URL field. You can optionally add a Username and Icon URL, which will be displayed with every event in Discord.

Choose which events you want to trigger a notification. When complete, click the *Add Webhook* button.

![](/files/RDRqouTiYNgZ7cMJdVCR)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.copia.io/docs/git-based-source-control/integrations/discord.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
