{% extends "base.html" %} {% load compress humanize staticfiles hc_extras %} {% block title %}Add Slack - {% site_name %}{% endblock %} {% block content %}
{% if slack_client_id %}
{% if request.user.is_authenticated %}

If your team uses Slack, you can set up {% site_name %} to post status updates directly to an appropriate Slack channel.

{% else %}

healthchecks.io is a free and open source service for monitoring your cron jobs, background processes and scheduled tasks. Before adding Slack integration, please log into {% site_root %}:

{% csrf_token %}
@
{% endif %}

Setup Guide

2

After {% if request.user.is_authenticated %}{% else %}logging in and{% endif %} clicking on "Add to Slack", you should be on a page that says "healthchecks.io would like access to your Slack team". Select the team you want to add the healthchecks.io integration app to.

Screenshot
3

You should now be on a page that says "healthchecks.io would like access to TEAM NAME". Select the channel you want to post healthchecks.io notifications to.

Screenshot
4

That is all! You will now be redirected back to "Integrations" page on {% site_name %} and see the new integration!

Screenshot
{% else %}

Slack

If your team uses Slack, you can set up {% site_name %} to post status updates directly to an appropriate Slack channel.

Setup Guide

1 Log into your Slack account and pick an appropriate Slack channel. From the dropdown next to channel's name, pick Add a service integration...
Screenshot
2 From the list of available integrations, select Incoming WebHooks, and click on Add Incoming WebHooks Integration.
3

Copy the displayed WebHook URL and paste it down below.

Save the integration, and it's done!

Screenshot

Integration Settings

{% csrf_token %}
{% if form.value.errors %}
{{ form.value.errors|join:"" }}
{% endif %}
{% endif %}
{% endblock %} {% block scripts %} {% compress js %} {% endcompress %} {% endblock %}