Receive notifications via Slack

February 24, 2020

Smoothy continuously keeps an eye on how your image builds, deployments and applications are doing. Whenever it detects an anomaly, it decides whether or not the event requires your attention and if so, it sends you a notification.

Rather than having to check your team's notifications page to stay up to date on anomalies, you can integrate Smoothy into your current workflow and receive notifications via email. This tutorial walks you step-by-step through the process of setting up a Slack notification channel.

The tutorial assumes that:

  1. You are already familiar with the concept of notifications and notification channels

Create a Slack notification channel #

To create a new notification channel, you should head over to your team's integration page. This is accessible via the button in the right upper corner of Smoothy, as shown in the screenshot below.

Team navigation

The notification channels section is located at the bottom of the integrations page. Hover the button in the upper right corner of the notification channels table and click Add channel.

Notification channels

Next, a modal will appear, similar to the one in the screenshot below. In this modal, you have to select for which channel you would like to set up an integration. Given the focus of this tutorial, this should be Slack.

You also need to select the minimum priority for the notifications that you want to receive over this notification channel. To illustrate this, if you assign the priority warning to your notification channel, you will only receive notifications that have a warning priority or higher one via this channel.

Finally, you can specify a name for your notification channel. By default, Smoothy fills out this field for you so you can leave it untouched. However, if you have multiple Slack notification channels, you can assign each of them a distinctive name.

Add Slack notification channel

In the next step of the process, you need to specify a Slack webhook that is linked to one of your Slack channels. To obtain such a webhook, you can follow along with the steps below.

Add Slack notification channel

First, head over to Slack and open up the Apps section via the navigation on the left. Using the search bar at the top of the page, look for Incoming WebHooks.

The search results should look something like this:

Add Slack notification channel

If you click on the first and only search result, you will see a page similar to the one in the screenshot below. On this page, click on the button labeled View in App Directory.

Add Slack notification channel

This takes you to the Slack App Directory, which allows you to add an incoming webhook to your Slack workspace. To do so, click on the big green Add to Slack button on the left.

Add Slack notification channel

Next, you need to specify in which channel you want to receive the Smoothy notifications. You can choose one of your existing channels or create a new channel.

Add Slack notification channel

After clicking Add Incoming Webhooks integration, you are presented with a Slack Webhook URL. Copy this URL to your clipboard and head back to Smoothy.

Add Slack notification channel

Finally, paste the webhook URL in the field and hit Create.

Add Slack notification channel

Your new Slack notification channel should now appear on your team's integrations page and new notifications with the right priority will automatically arrive in your Slack channel.

Where to go from here? #

Now that you have created a Slack notification channel, you may also want to add one of the other supported notification channels. You can do so by following along with one of these tutorials.

Michiel Kempen

Michiel Kempen

A passionate cloud engineer who helps software companies adopt modern cloud technologies through an intelligent all-in-one cloud platform called Smoothy.