{% extends "base.html" %} {% load humanize static hc_extras %} {% block title %}Slack Integration for {{ site_name }}{% endblock %} {% block description %} {% endblock %} {% block content %}
{% 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.

{% if authorize_url %} {% endif %} {% 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

{% if not authorize_url %}

{% if request.user.is_authenticated %} Go {% else %} After logging in, go {% endif %} to the Integrations page, and click on Add Integration next to the Slack integration.

Screenshot
{% endif %}

Click on the "Add to Slack" button, and 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

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

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

Screenshot
{% endblock %}