# Slack

Slack integration tracks the following activities:

<pre><code><strong>When someone joins a channel
</strong>Messages
Replies in threads
</code></pre>

Follow these steps to integrate Slack:

1. On the **INTEGRATIONS** page, locate the **Slack** integration.
2. Click **Connect**.

<figure><img src="https://lh7-us.googleusercontent.com/8JiUCY5aoeFNlOOFnVnYxJaOvEe2rhlh-OD1pwW94-lNmBKhkNbpxoKty6E64N5Vn9hSF_7aw4eSk8d7RcYuWd5u7NhyBJkzNQTj5CI3QKi-ZmfHOK6j0Uf6kCHSvrty8fEVwB7vDz_ko6MpF3zu9JvfIw=s2048" alt="" width="188"><figcaption></figcaption></figure>

3. Sign in to your workspace. If you are not sure about the workspace, check your slack channel.

   <figure><img src="/files/DzxmKEuvGnYiRJ1buLC9" alt=""><figcaption></figcaption></figure>
4. Select the project for which you want to integrate **Slack**.

<figure><img src="/files/x6tt6c7dqvHw0mq7TP8D" alt="" width="375"><figcaption></figcaption></figure>

5. Click **Allow**.

<figure><img src="https://lh7-us.googleusercontent.com/j9tWxMxS7ciq6RXfwayGV3mVkPqIai-uMMEb2eYUfXcC-qmMFIKgKGZz2z44lLLUT2mLMfpgm5I3-SRbnhO4aaMSshagOZ3yDlknNnQuD_sh9-Bpaxpvivw9XblXUyzKG_OdR8YwryLHnmVMjsxyrLjEGg=s2048" alt="" width="375"><figcaption></figcaption></figure>

### Add Slack bots to channels

6. To fetch data from Slack, you need to add the crowd.dev Slack bot to all channels.

There are two options for this:

{% tabs %}
{% tab title="Adding the Bot directly from the channel" %}
This is the quickest option if you do not have many channels. Go to the channel, type: [@LFX CM](https://linuxfoundation.slack.com/team/U05PNCVNYKZ), and send the message.

<figure><img src="/files/w4GGlWhTV06WHFz13utc" alt=""><figcaption></figcaption></figure>

A pop-up will appear, click \*Add to Channel\* and the bot will be able to get all messages from this channel.

![](https://docs.crowd.dev/~gitbook/image?url=https%3A%2F%2Ffiles.readme.io%2Fc214dab-slack-2.png\&width=768\&dpr=4\&quality=100\&sign=7c673ff7f24082738308d88fe90dae80adfd88a232235e6e67f923c3d8c9cf6e)
{% endtab %}

{% tab title="Adding from the channel settings" %}
**Option 2: Adding from the channel settings**

Alternatively, you can add the bot in bulk from the channel settings.

1. On the sidebar, right-click on the first channel where you would like the integration to be and click on *Open channel details.*
2. Head over to the *Integrations* tab and click on *Add an App*

   ![](https://docs.crowd.dev/~gitbook/image?url=https%3A%2F%2Ffiles.readme.io%2F3ba88aa-slack-3.png\&width=768\&dpr=4\&quality=100\&sign=0ef27929b4fc4b35e7bff58e2d73096c714dcbc219c879df759a16258b453e98)
3. Search for "[LFX CM](https://linuxfoundation.slack.com/team/U05PNCVNYKZ) app, and click on *Add*

   ![](https://docs.crowd.dev/~gitbook/image?url=https%3A%2F%2Ffiles.readme.io%2F8c9fab5-slack-4.png\&width=768\&dpr=4\&quality=100\&sign=a5b34c65dffa8ff7afb7203f7ad452a3293022f68f0631b3d994b18723bb81d3)
4. Once the app is added, if you go to the channel where you added the app, you will see a message like this:the app is added to X channel by "your name"

   ![](https://docs.crowd.dev/~gitbook/image?url=https%3A%2F%2Ffiles.readme.io%2F4297cd0-slack-5.png\&width=768\&dpr=4\&quality=100\&sign=e006e2565795e6f9dfc0d3feed6c620572f3bb6d6bd0b2fd430184f0e2d39e2c)
5. By clicking on the logo, a menu will appear with an option to add the integration to more channels.

   ![](https://docs.crowd.dev/~gitbook/image?url=https%3A%2F%2Ffiles.readme.io%2Fd8d9fbe-slack-6.png\&width=768\&dpr=4\&quality=100\&sign=e5c7a074d08e923b90c79576a36b77a80e3c466bff6bf987d9625ff68f859665)
6. Now you can select the channel that you want to connect.

   ![](https://docs.crowd.dev/~gitbook/image?url=https%3A%2F%2Ffiles.readme.io%2Fc050588-slack-7.png\&width=768\&dpr=4\&quality=100\&sign=ec6d1718d15bb30a1ceb7f9e5552689e74d46f4cdff4a436cb4439d63f96c119)

   7\. Repeat steps 5 and 6 for each channel that you would like the LFX CM integration to have access to.
   {% endtab %}
   {% endtabs %}

Activities Collected:

* A member joining a channel
* Messages
* Replies in threads


---

# 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.linuxfoundation.org/lfx/community-management/integrations/slack.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.
