{% extends "base.html" %} {% load humanize static 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 %}

{% site_name %} 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_name %}:

{% endif %}

Setup Guide

1

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

Screenshot
2

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

Screenshot
3

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 %}