diff options
author | Levent YALCIN <leventyalcin@gmail.com> | 2014-04-14 04:26:48 +0400 |
---|---|---|
committer | Levent YALCIN <leventyalcin@gmail.com> | 2014-04-14 04:26:48 +0400 |
commit | 133da280582e5cdb003a2d2bc6885b21f861432c (patch) | |
tree | 2855c1ef25c42d1474e9b7d193d77d2c23bf1660 /doc/integration/slack.md | |
parent | 352bb972665822cace72497241e7b309c2167268 (diff) |
Slack documentation added
Diffstat (limited to 'doc/integration/slack.md')
-rw-r--r-- | doc/integration/slack.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/integration/slack.md b/doc/integration/slack.md new file mode 100644 index 00000000000..057871a4b8e --- /dev/null +++ b/doc/integration/slack.md @@ -0,0 +1,34 @@ +# Slack integration + +### On Slack + +To enable Slack integration you must create an Incoming WebHooks integration on Slack; + + +1. Sign in to [Slack](https://slack.com) (https://YOURSUBDOMAIN.slack.com/services) +2. Click on the Integrations menu at the top of the page. +3. Add a new Integration. +4. Pick Incoming WebHooks +5. Choose the channel name you want to send notifications to, in the Settings section +6. Add Integrations. + * Optional step; You can change bot's name and avatar by clicking "change the name of your bot", and "change the icon" after that you have to click "Save settings". + +Now, Slack is ready to get external hooks. Before you leave this page don't forget to get the Token that you'll need on GitLab. You can find it by clicking Expand button, located in the "Instructions for creating Incoming WebHooks" section. It's a random alpha-numeric text 24 characters long. + +### On GitLab + +After Slack is ready we need to setup GitLab. Here are the steps to achieve this. + + +1. Sign in to GitLab +2. Pick the repository you want. +3. Navigate to Settings -> Services -> Slack +4. Fill in your Slack details + * Mark as active it + * Type your subdomain's prefix (If your subdomain is https://somedomain.slack.com you only have to type the somedomain) + * Type in the token you got from Slack + * Type in the channel name you want to use (eg. #announcements) + +Have fun :) + +_P.S. You can set "branch,pushed,Compare changes" as highlight words on your Slack profile settings, so that you can be aware of new commits when somebody pushes them._ |