Configuring Slack and IFTTT

To use Slack and IFTTT, you’ll need to configure your settings within these tools in order to obtain a token, allowing us to link the alerts generated by Watcher.

Configuring Slack 

Slack is a collaborative communication platform that is frequently used within companies. By connecting Watcher to this solution, you’ll see Watcher notifications appear directly in Slack.

The first step is to activate the Incoming WebHooks application in Slack. Please note that you’ll need sufficient rights in Slack in order to do this.

Access the application settings panel by clicking on your profile, and then on "Manage apps".

access_config_slack.png

Use the search tool to find the Incoming WebHooks application.

incoming_webhooks_1.png

Add a configuration and choose the channel in which you want to see your Watcher alerts. 

incoming_webhooks_2.png

Confirm the addition of this integration, and you’ll then be able to retrieve the Webhook URL to insert in Watcher. 

incoming_webhooks_3.png

 

Configuring IFTTT

IFTTT (If This Then That) is a tool enabling you to create series of conditions between different tools using a “recipe”. It’s very easy to create a recipe such as, “If Watcher emits an alert, I want to receive a text message.” In order to use IFTTT, you must first configure your settings.

First, you’ll need to create a new recipe. To do so, click on "My Applets" then on "New Applet". 

ifttt_step2.png

Click on "this" and select "Webhooks". Select "Receive a web request" and enter the event name "WatcherEvent". You must absolutely enter the event name, otherwise your recipe will not function. 

ifttt_watcherevent.png

You may then proceed to give your recipe whatever processing you’d like. For example, you can use the "Notifications" service to receive a push notification on your phone for each Watcher alert. Once you’ve completed your recipe, you’ll need to retrieve the required token in Webhooks to connect to Watcher. In IFTTT, search for Webhooks, then click on Settings.

ifttt_step4.png

Retrieve the string of characters in the URL, and copy it to Watcher’s settings panel.

ifttt_step5.png

Your recipe will now function. Please note that this setup is required for your first recipe, but if you create others, it will not be necessary to retrieve the token each time, as it will remain the same token.  

Adding tokens to Watcher 

In Watcher, simply open the settings panel at the top right of the screen in order to access the fields where you’ll need to paste the Slack or IFTTT token.  

 

Have more questions? Submit a request