# Create a Discord Webhook

> Create a Discord webhook and connect it to TradeLabs so trade alerts post to your Discord channel.

*Source: https://tradelabs.org/docs/reference/how-to/creating-discord-webhook*

A Discord webhook lets TradeLabs post trade alerts straight into a channel on your server. You create the webhook in Discord, then paste its URL into the dashboard.

## Create the webhook in Discord

1. Open your server's **Server Settings** and go to the **Integrations** tab. If you don't have a server yet, create one first.

2. Click **Create Webhook**.

3. Pick the channel the webhook should post to from the channel dropdown. You can also rename the webhook and change its avatar, which helps when you run more than one.

4. Click **Copy Webhook URL**.

*Open Server Settings, go to Integrations, pick a channel, and copy the webhook URL.*

## Connect it to TradeLabs

Open the [Cloud Dashboard](https://dashboard.tradelabs.org/) and go to the **Profile** page. The webhook lives in the **Notifications** panel.

1. Paste the URL you copied into the **Trade alert webhook** field.

2. Turn on the **Webhook enabled** toggle.

3. Click **Test** and confirm the message lands in your Discord channel.

4. Click **Save**.

![The Cloud Dashboard Profile page, with the Notifications panel where you connect Discord and paste a trade-alert webhook](/docs-assets/dash-profile.png)
*The Notifications panel on the Profile page holds Connect Discord and the trade alert webhook field.*

> **Tip**
>
> Two extra toggles sit under the field. **Compact format** posts a shorter alert, and **Broker error alerts** sends a message when a broker fails a trade.

> **Note**
>
> If the test fails, check that the URL is complete and that the webhook still exists in Discord. Deleting the webhook in Discord breaks the connection until you paste a new one.
