# 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="https://3411187760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2DCN9UgoRgMEkgnLyP-887967055%2Fuploads%2Fgit-blob-3fcf69390b7919dc647f24fad34648c649c05fe4%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
4. Select the project for which you want to integrate **Slack**.

<figure><img src="https://3411187760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2DCN9UgoRgMEkgnLyP-887967055%2Fuploads%2Fgit-blob-5e39a17dc9146cd6bf1e0f6848cf517ba569a424%2Fimage%20(21)%20(1).png?alt=media" 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="https://3411187760-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M2DCN9UgoRgMEkgnLyP-887967055%2Fuploads%2Fgit-blob-89991a09cd1d9127d8a7d606b4825bc002b94195%2Fimage.png?alt=media" 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
