> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prowler.com/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.prowler.com/feedback

```json
{
  "path": "/user-guide/cli/tutorials/integrations",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Integrations

## Integration with Slack

Prowler can be integrated with [Slack](https://slack.com/) to send a summary of the execution having configured a Slack APP in your channel with the following command:

```sh theme={null}
prowler <provider> --slack
```

<img src="https://mintcdn.com/prowler/LI3palQgXkn4dRXg/images/cli/slack-prowler-message.png?fit=max&auto=format&n=LI3palQgXkn4dRXg&q=85&s=78899368e511d6bc4e1c69794b62c4ac" alt="Prowler Slack Message" width="822" height="414" data-path="images/cli/slack-prowler-message.png" />

<Note>
  Slack integration needs `SLACK_API_TOKEN` and `SLACK_CHANNEL_NAME` environment variables.
</Note>

### Configuration of the Integration with Slack

To configure the Slack Integration, follow the next steps:

1. Create a Slack Application:
   * Go to [Slack API page](https://api.slack.com/tutorials/tracks/getting-a-token), scroll down to the *Create app* button and select your workspace:
     <img src="https://mintcdn.com/prowler/su_yXbKgm6vDhiMb/images/cli/create-slack-app.png?fit=max&auto=format&n=su_yXbKgm6vDhiMb&q=85&s=5a8f9fefa9c67dab8b45ad51c3aa9da6" alt="Create Slack App" width="1668" height="314" data-path="images/cli/create-slack-app.png" />

   * Install the application in your selected workspaces:
     <img src="https://mintcdn.com/prowler/su_yXbKgm6vDhiMb/images/cli/install-in-slack-workspace.png?fit=max&auto=format&n=su_yXbKgm6vDhiMb&q=85&s=bf57e4fe599ccde26544e82cda3a5bd0" alt="Install Slack App in Workspace" width="1296" height="352" data-path="images/cli/install-in-slack-workspace.png" />

   * Get the *Slack App OAuth Token* that Prowler needs to send the message:
     <img src="https://mintcdn.com/prowler/LI3palQgXkn4dRXg/images/cli/slack-app-token.png?fit=max&auto=format&n=LI3palQgXkn4dRXg&q=85&s=30c40a4f6681a7407f118991663e37e6" alt="Slack App OAuth Token" width="2268" height="640" data-path="images/cli/slack-app-token.png" />

2. Optionally, create a Slack Channel (you can use an existing one)

3. Integrate the created Slack App to your Slack channel:
   * Click on the channel, go to the Integrations tab, and Add an App.
     <img src="https://mintcdn.com/prowler/su_yXbKgm6vDhiMb/images/cli/integrate-slack-app.png?fit=max&auto=format&n=su_yXbKgm6vDhiMb&q=85&s=a863ba1f985a0945b2ec72192ace08fa" alt="Slack App Channel Integration" width="1398" height="1430" data-path="images/cli/integrate-slack-app.png" />

4. Set the following environment variables that Prowler will read:
   * `SLACK_API_TOKEN`: the *Slack App OAuth Token* that was previously get.
   * `SLACK_CHANNEL_NAME`: the name of your Slack Channel where Prowler will send the message.
