# Slack integration

{% hint style="warning" %}
Snyk recommends that all customers use the [Slack App](/integrations/jira-and-slack-integrations/slack-app.md), as the Slack integration is outdated.
{% endhint %}

You can set up Slack to receive Snyk’s alerts about new vulnerabilities that affect your Projects and new upgrades or patches that have become available.

{% hint style="info" %}
Vulnerabilities detected on initial import of projects are not sent to Slack immediately.
{% endhint %}

## Slack notification types

You can get the following alerts in Slack:

A newly disclosed vulnerability:

<figure><img src="/files/wscS4IbmOG4640QyupSH" alt="Newly disclosed vulnerability notification"><figcaption><p>Newly disclosed vulnerability notification</p></figcaption></figure>

A new upgrade or patch is available for a vulnerability that you previously ignored or patched.

## Set up the Slack integration

To set up the integration, you must generate a Slack webhook. You can do this either via the [Incoming WebHooks app](https://slack.com/apps/A0F7XDUAZ-incoming-webhooks) or by [creating your own Slack app](https://api.slack.com/incoming-webhooks).

Once you have generated your Slack Webhook URL, go to your **Manage Organization** settings and enter the URL.

<figure><img src="/files/btBbiNQeHtxhHUL4z0oK" alt="Enter URL of the Slack webhook"><figcaption><p>Enter URL of the Slack webhook</p></figcaption></figure>

{% hint style="info" %}
Only webhooks created with Slack Apps are supported; webhooks created with Slack Workflows are not supported.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.snyk.io/integrations/jira-and-slack-integrations/slack-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
