# 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: 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://docs.copia.io/docs/git-based-source-control/integrations/discord.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.
