# Pandora FMS configuration: creation of an alert command

First you must install the Slack connector CLI, which you can download from the Pandora FMS library. You must have the following utilities installed in the Pandora FMS server: `python3` and `python3-pip`. With this last command you should install the Slack connector CLI requirements for Pandora FMS:

```
pip3 install -r requirements.txt
```

It is recommended to send a test message from the same command line. Be familiar with the mandatory parameters: the copied token, the channel name and the data to send.

`-t TOKEN -c CHANNEL -d DATA.`

For example:

```
python3 ./pandora-slack-cli.py.py -t <webhook-url> -c <channel id/name> -d "Data=5, Agent=Test, Module=Ping"
```

Due to the flexibility of Pandora FMS, there are also additional parameters that allow, for example, the sending of graphs through the [Pandora FMS external API](https://pandorafms.com/manual/en/documentation/08_technical_reference/02_annex_externalapi?s%5B%5D=api).

[![image-1629793991364.png](https://pandorafms.com/guides/public/uploads/images/gallery/2021-08/scaled-1680-/image-1629793991364.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2021-08/image-1629793991364.png)

Take the time to learn these requirements. To create an alert command go to the Pandora FMS Web Console and click on **Alerts** -&gt; **Commands,**  You can find “Pandora Slack”, so click on it.

[![image.png](https://pandorafms.com/guides/public/uploads/images/gallery/2025-06/scaled-1680-/image.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2025-06/image.png)

Set the User OAuth Token you just obtained in the -t option in the command field.

![グラフィカル ユーザー インターフェイス, テキスト, アプリケーション, メール

AI によって生成されたコンテンツは間違っている可能性があります。](https://lh7-rt.googleusercontent.com/docsz/AD_4nXc6bXOO6mZYNvAuRGJAeF3QqvAwVWX4TiCHLTM-KMnK2W6wPtgy8j4ceeY9qdSSBzCtNHI3R6mSXIYNHCR6vDyNrQs07aiRLqoVbO2hT8a9kvTyrYNCjSqdh6C5-61O9QSQDBqfXvqgiesgNSUH_8I?key=r3Q-2ko_6ng5GVcxJKWz4g)

Click on the **Update** button to save the alert command.