> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-automate/18.latest/add-ons/slack/installation.md).

# Installation

The Slack add-on adds Slack support to Umbraco Automate. Slack uses OAuth, so you must register a Slack app and configure the client credentials in `appsettings.json`.

## Prerequisites

* Umbraco Automate installed and configured
* Permission to create a Slack app in your workspace at <https://api.slack.com>

## Install the Package

{% code title=".NET CLI" %}

```bash
dotnet add package Umbraco.Automate.Slack
```

{% endcode %}

The Slack add-on depends on `Umbraco.Automate.OpenIddict`, the reusable OAuth infrastructure for Umbraco Automate provider packages. The OpenIddict package is installed automatically.

## Create a Slack App

1. Go to <https://api.slack.com/apps> and click **Create New App**.
2. Pick **From scratch** and choose a workspace to develop the app in.
3. Under **OAuth & Permissions**, add the `chat:write` bot token scope. Add more scopes if you plan to use them.
4. Under **OAuth & Permissions**, add the following **Redirect URL**: `https://<your-site>/umbraco/automate/oauth/callback/slack`.
5. Note the **Client ID** and **Client Secret** under **Basic Information**.

## Configure the Credentials

Add the Slack client credentials to `appsettings.json`:

{% code title="appsettings.json" %}

```json
{
  "Umbraco": {
    "Automate": {
      "Providers": {
        "Slack": {
          "ClientId": "your-client-id",
          "ClientSecret": "your-client-secret"
        }
      }
    }
  }
}
```

{% endcode %}

{% hint style="warning" %}
Keep the client secret out of source control. Use environment variables, user secrets, or a key vault to inject it at deployment time.
{% endhint %}

## Verify

Restart your Umbraco site. When you build an automation, the **Send Slack Message** action appears in the action catalogue under the **Messaging** group.

## Next Steps

{% content-ref url="/pages/FlTRl8kaxFpe7jyhuFmX" %}
[Create a Slack Connection](/umbraco-automate/18.latest/add-ons/slack/connection.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.umbraco.com/umbraco-automate/18.latest/add-ons/slack/installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
