Skip to content

Commit fa1c92c

Browse files
Update integrations/support/slack.mdx
1 parent 25c44fe commit fa1c92c

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

integrations/support/slack.mdx

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: "Slack"
3+
---
4+
5+
Add the following to your `docs.json` file to add a [Slack](https://slack.com) integration.
6+
7+
<CodeGroup>
8+
9+
```json Integration options in docs.json
10+
"integrations": {
11+
"slack": {
12+
"webhookUrl": "WEBHOOK_URL"
13+
}
14+
}
15+
```
16+
17+
```json Example
18+
"integrations": {
19+
"slack": {
20+
"webhookUrl": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
21+
}
22+
}
23+
```
24+
25+
</CodeGroup>
26+
27+
## Setting up your Slack webhook
28+
29+
1. Go to your Slack workspace and navigate to **Apps** > **Manage** > **Custom Integrations**
30+
2. Click **Incoming Webhooks** and then **Add Configuration**
31+
3. Choose the channel where you want to receive notifications
32+
4. Copy the webhook URL and add it to your `docs.json` file
33+
34+
The Slack integration will send notifications about documentation events and user interactions to your specified channel.

0 commit comments

Comments
 (0)