# Slack

<div align="center"><figure><img src="https://3168433179-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKixgeBPbLvnD0l1eiV%2Fuploads%2Fp8XCK2J71Q8pj9vOq6Wa%2FSlack-logo-RGB.png?alt=media&#x26;token=61edb988-5fa7-476f-a1d7-a2a86c900eee" alt="Slack logo" width="300"><figcaption></figcaption></figure></div>

## How to integrate test automation with Slack?

BugBug’s integration for Slack is designed to elevate your testing and issue management to a whole new level.

Stay informed about:

* failed test runs
* schedule suites results
* unexpected errors
* ...and many more.

Currently, it is possible to do that in two ways:

1. [Creating a Slack message alert](#creating-a-slack-message-alert) *(recommended)*
2. [Using Zapier integration](#using-zapier-integration)

## Creating a Slack message alert

If you use Slack on a daily basis, need real-time updates, and want to set it up as seamlessly as possible, this is the easiest way to go.

{% hint style="warning" %}
Keep in mind that Slack integration is only available on paid plans. So any related features, such as Slack alerts, will not be available on the free plan.

More information about pricing can be found here: <https://bugbug.io/pricing/>
{% endhint %}

### Connect your Slack workspace with BugBug

Before you can create a new Slack Alert, you need to provide access to your Slack workspace.\
To do this:

1. Go to the "Integrations" page
2. Find Slack on the integrations list
3. Click on the "Manage" button
4. Continue by clicking on the "Connect" button
5. "Allow" BugBug to access your workspace data

{% hint style="info" %}
BugBug only needs information about available channels/users and permission to send messages to them.

More information about our privacy policy can be found here: <https://bugbug.io/privacy-policy/>
{% endhint %}

After the last step, you will be automatically redirected to the "Integration Details" page.

<figure><img src="https://3168433179-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKixgeBPbLvnD0l1eiV%2Fuploads%2F55AV3vJ9dg5PAR62moje%2FZrzut%20ekranu%202023-10-23%20o%2016.15.28.png?alt=media&#x26;token=dec4a65b-c284-4825-a58c-76176eac1ded" alt=""><figcaption></figcaption></figure>

### Create a Slack message alert

On this page, you can click the "Send a Slack message alert" link. This takes you to the "New Alert" view, where you can configure your first Slack message alert, eg. the message type or recipient.

<figure><img src="https://3168433179-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKixgeBPbLvnD0l1eiV%2Fuploads%2FtxP4FCzdVvltMtIauuo5%2FZrzut%20ekranu%202023-11-24%20o%2009.14.22.png?alt=media&#x26;token=c805ee21-1be9-4069-a985-585205616cec" alt=""><figcaption></figcaption></figure>

If you don't know how to set up [Alerts](https://docs.bugbug.io/collaboration/alerts), you can read more about how to do it [here](https://docs.bugbug.io/collaboration/alerts#adding-a-new-alert-to-your-project).

***

## Using Zapier integration

[Use Zapier for connecting BugBug to Slack to get notifications -->](https://docs.bugbug.io/integrations/zapier)

### Explore other ways of integrating BugBug with Slack

Check out other templates for [integrating BugBug with Slack](https://zapier.com/apps/bugbug/integrations)

![https://zapier.com/apps/bugbug/integrations](https://3168433179-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKixgeBPbLvnD0l1eiV%2Fuploads%2FJsLZNScygAt3afP61qfx%2FScreenshot%202022-04-12%20at%2011.31.43.png?alt=media\&token=f836cf87-bb0f-4d94-ad64-0958af904ddb)


---

# 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.bugbug.io/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.
