# Reference > Extensions > Slack

# `slack` - Connect Artillery to your Slack account

Artillery's [Slack](https://slack.com/) integration enables getting real-time Artillery test run updates to a Slack channel of your choice.

### Slack message format

The plugin sends a message to the configured Slack channel when the test completes. The message includes the following information:

* Whether the test run was successful or failed (based on the exit code)
* Test duration
* The link to the test run view in Artillery Cloud dashboard (if recorded to Artillery Cloud)
* VUs completed / created
* Errors
* [`ensure` plugin](./ensure) checks if set

## Usage

### Configure the plugin

To enable the plugin, add it to the `config` section of a test script, and [provide the `webhookUrl`](https://api.slack.com/messaging/webhooks#getting_started) for the Slack channel you want to send messages to.

```yaml
config:
  target: "http://lab.artillery.io"
  plugins:
    slack:
      webhookUrl: "https://hooks.slack.com/services/..."
```

### Debugging

To enable debug logging for the plugin, set the `DEBUG` environment variable to `artillery-plugin-slack`.

```sh
DEBUG=plugin:slack artillery run my-test.yml
```
