Skip to content

Commit

Permalink
Merge pull request #36 from CloudBoost/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
shubhamqweasd authored Aug 31, 2017
2 parents ed59072 + 12b1dab commit dd02bba
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tutorials/en/integrations/slack.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@ To integrate slack notifications with your application, navigate to <a href="htt

3. Now, click on the **Setup** corresponding to the Slack Integration,
<img class="settings_img" alt="Slack Settings App" src="http://i.imgur.com/BAN7Zls.png">
as a result following section will appear,
<img class="settings_img" alt="Notifications Button" src="http://i.imgur.com/CksS7mJ.png">

4. Now, generate a **_Webhook URL_** for your team by using following button <a class="addToSlack" href="https://slack.com/oauth/authorize?&client_id=3133949145.212145423984&scope=incoming-webhook"><img class="slackImg" alt="" height="40" width="139" style="margin-right: 590px;" src="https://platform.slack-edge.com/img/add_to_slack.png" srcset="https://platform.slack-edge.com/img/add_to_slack.png 1x" /></a>
4. Now, to add the CloudBoost slack app to your slack team, click on **Add To Slack** Button and *Authorise CloudBoost App* on slack to send notifications to your team.
<img class="settings_img" alt="Authorise Button" src="http://i.imgur.com/LOF5mFG.png">

5. After generating one, enter your created **_Webhook URL_** into the field provided and turn on the switch corresponding to the event for which you want to get notified and click on save button to start your notifications.
5. After *Authorising*, you will be redirected to the settings page of your app. Then, go to **Integrations Settings** and click on **Add Button**, (corresponding to Slack) to add an Event corresponding to which you want to get notified on **Slack**.
<img class="settings_img" alt="Authorisations" src="http://i.imgur.com/g5T1Kym.png?1">

6. After clicking on **Add Button**, select the **Event Type** and the **Channel** you want to post this notification on your **Slack**.(In case there are no events, click on the book icon at the top of the page to open **Quick Docs Drawer**, & go to **CloudEvent** section in it and run the code you see in console to add an event and reload the page to see the events added).
<img class="settings_img" alt="Add Event Type" src="http://i.imgur.com/GWFNRA9.png">
<img class="settings_img" alt="Select #channel" src="http://i.imgur.com/Qe78gvL.png">

7. Now, click on **Save Button** to save your settings and start your **Notifications**.(Note: To see a demo notification, after saving the settings re-run the event code again in your console, & you will see the corresponding notification on your channel in slack in quick time).

0 comments on commit dd02bba

Please sign in to comment.