# Discord Notifications service > 原文:[https://docs.gitlab.com/ee/user/project/integrations/discord_notifications.html](https://docs.gitlab.com/ee/user/project/integrations/discord_notifications.html) * [Create webhook](#create-webhook) * [Configure created webhook in GitLab](#configure-created-webhook-in-gitlab) # Discord Notifications service[](#discord-notifications-service "Permalink") 在 GitLab 11.6 中[引入](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/22684) . Discord Notifications 服务将事件通知从 GitLab 发送到创建 Webhook 的通道. 要将 GitLab 事件通知发送到 Discord 频道,请在 Discord 中创建一个 Webhook,然后在 GitLab 中对其进行配置. ## Create webhook[](#create-webhook "Permalink") 1. 打开您要接收 GitLab 事件通知的 Discord 频道. 2. 在频道菜单中,选择**编辑频道** . 3. 单击**Webhooks**菜单项. 4. 单击**创建 Webhook**按钮,然后填写将发布消息的机器人的名称. (可选)编辑头像. 5. 记下" **WEBHOOK URL"**字段中的**URL** . 6. 单击**保存**按钮. ## Configure created webhook in GitLab[](#configure-created-webhook-in-gitlab "Permalink") 使用在 Discord 频道中创建的 webhook URL,可以在 GitLab 中设置 Discord Notifications 服务. 1. 导航到项目设置中的" [集成"页面](overview.html#accessing-integrations) . 也就是说, **项目>设置>集成** . 2. 选择" **Discord Notifications"**集成进行配置. 3. 确保启用了**活动**切换. 4. 选中与您要向 Discord 发送通知的 GitLab 事件相对应的复选框. 5. 粘贴您从创建 Discord Webhook 步骤复制的 Webhook URL. 6. 配置其余选项,然后单击" **保存更改"**按钮. 您创建了 Webhook 的 Discord 频道现在将收到有关已配置的 GitLab 事件的通知.