GitLab Documentation

Slack Notifications Service

The Slack Notifications Service allows your GitLab project to send events (e.g. issue created) to your existing Slack team as notifications. This requires configurations in both Slack and GitLab.

Note: You can also use Slack slash commands to control GitLab inside Slack. This is the separately configured Slack slash commands.

Slack Configuration

  1. Sign in to your Slack team and start a new Incoming WebHooks configuration.
  2. Select the Slack channel where notifications will be sent to by default. Click the Add Incoming WebHooks integration button to add the configuration.
  3. Copy the Webhook URL, which we'll use later in the GitLab configuration.

GitLab Configuration

  1. Navigate to the Integrations page in your project's settings, i.e. Project > Settings > Integrations.
  2. Select the Slack notifications project service to configure it.
  3. Check the Active checkbox to turn on the service.
  4. Check the checkboxes corresponding to the GitLab events you want to send to Slack as a notification.
  5. For each event, optionally enter the Slack channel where you want to send the event. (Do not include the # symbol.) If left empty, the event will be sent to the default channel that you configured in the Slack Configuration step.
  6. Paste the Webhook URL that you copied from the Slack Configuration step.
  7. Optionally customize the Slack bot username that will be sending the notifications.
  8. Configure the remaining options and click Save changes.

Your Slack team will now start receiving GitLab event notifications as configured.

Slack configuration


Leave a comment below if you have any feedback on the documentation. For support and other inquires, see getting help.