debian-mirror-gitlab/doc/user/project/integrations/hangouts_chat.md

36 lines
1.6 KiB
Markdown
Raw Normal View History

2020-10-24 23:57:45 +05:30
---
stage: Create
group: Ecosystem
2021-02-22 17:27:13 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-10-24 23:57:45 +05:30
---
2018-11-18 11:00:15 +05:30
# Hangouts Chat service
2020-06-23 00:09:42 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/43756) in GitLab 11.2.
2018-11-18 11:00:15 +05:30
The Hangouts Chat service sends notifications from GitLab to the room for which the webhook was created.
## On Hangouts Chat
1. Open the chat room in which you want to see the notifications.
1. From the chat room menu, select **Configure Webhooks**.
2021-02-22 17:27:13 +05:30
1. Click on **ADD WEBHOOK** and fill in the name of the bot to post the messages. Optionally define an avatar.
2018-11-18 11:00:15 +05:30
1. Click **SAVE** and copy the **Webhook URL** of your webhook.
See also [the Hangouts Chat documentation for configuring incoming webhooks](https://developers.google.com/hangouts/chat/how-tos/webhooks)
## On GitLab
2018-12-05 23:21:45 +05:30
When you have the **Webhook URL** for your Hangouts Chat room webhook, you can set up the GitLab service.
2018-11-18 11:00:15 +05:30
2020-04-22 19:07:51 +05:30
1. Navigate to the [Integrations page](overview.md#accessing-integrations) in your project's settings, i.e. **Project > Settings > Integrations**.
1. Select the **Hangouts Chat** integration to configure it.
1. Ensure that the **Active** toggle is enabled.
2018-11-18 11:00:15 +05:30
1. Check the checkboxes corresponding to the GitLab events you want to receive.
1. Paste the **Webhook URL** that you copied from the Hangouts Chat configuration step.
1. Configure the remaining options and click `Save changes`.
2021-02-22 17:27:13 +05:30
Your Hangouts Chat room now starts receiving GitLab event notifications as configured.
2018-11-18 11:00:15 +05:30
![Hangouts Chat configuration](img/hangouts_chat_configuration.png)