Discord Notifications service (FREE)

Introduced in GitLab 11.6.

The Discord Notifications service sends event notifications from GitLab to the channel for which the webhook was created.

To send GitLab event notifications to a Discord channel, create a webhook in Discord and configure it in GitLab.

Create webhook

  1. Open the Discord channel you want to receive GitLab event notifications.
  2. From the channel menu, select Edit channel.
  3. Click on Webhooks menu item.
  4. Click the Create Webhook button and fill in the name of the bot to post the messages. Optionally, edit the avatar.
  5. Note the URL from the WEBHOOK URL field.
  6. Click the Save button.

Configure created webhook in GitLab

With the webhook URL created in the Discord channel, you can set up the Discord Notifications service in GitLab.

  1. Navigate to the Integrations page in your project's settings. That is, Project > Settings > Integrations.
  2. Select the Discord Notifications integration to configure it.
  3. Ensure that the Active toggle is enabled.
  4. Check the checkboxes corresponding to the GitLab events for which you want to send notifications to Discord.
  5. Paste the webhook URL that you copied from the create Discord webhook step.
  6. Configure the remaining options and click the Save changes button.

The Discord channel you created the webhook for now receives notification of the GitLab events that were configured.