# Slack

#### Pre-requisites

* A Slack Workspace with alteast one public channel
* BugBase Company Account with an Active Program

**Helpful Links**

{% content-ref url="../company-guide/create-a-company-account" %}
[create-a-company-account](https://docs.bugbase.ai/company-guide/create-a-company-account)
{% endcontent-ref %}

{% content-ref url="../overview/programs-at-bugbase" %}
[programs-at-bugbase](https://docs.bugbase.ai/overview/programs-at-bugbase)
{% endcontent-ref %}

{% embed url="<https://slack.com/intl/en-in/help/articles/206845317-Create-a-Slack-workspace>" %}

### Setup

> Before starting the setup, ensure you are logged into your Slack Account and have alteast 1 public channel in your workspace.

1. Navigate to the integrations tab located in the settings page of your BugBase Program.&#x20;
2. Click on the `Setup` button on the Slack Integration Card.
3. A popup asking to connect to your Slack account will appear. Click on the `Connect` button to proceed with the connection.
4. Once clicked, you will be redirected to the Slack OAuth page when you would be requested access to your Slack account.
5. Choose a channel in which want to recieve notifications on.
6. Click on the `Allow` button to give access to BugBase to be able to connect to your Slack Workspace.
7. If everything went well, you will be redirected to BugBase settings page and the Slack integration will be enabled.

If you see the text `Join Channel` on the Slack Integration Card, then you are connected to the Slack Workspace.

**Up Next** is installing the bot in a specific channel.

***

### Installing the BugBase Integration for Slack in your channel and configurating it

> Before starting the configuration, ensure you have connected your Slack Workspace with your BugBase Account.

1. Navigate to the integrations tab located in the settings page of your BugBase Program.
2. Click on the `Join Channel` Button on the Slack Integration Card
3. A popup will appear with a dropdown to select the channel in which you want to integrate to.

*Below is an example...*

1. For this example, the channel selected is `#bugbase-reports`
2. Click on `Save` and the BugBase Bot for Slack will be added to your channel
3. If all went well, the Bot will be added to your channel.

*Now on all events a notification will be sent to your configured channel*

{% hint style="success" %}
:tada: You've successfully connected **Slack** with your **BugBase Program**
{% endhint %}
