You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/managed-datahub/saas-slack-setup.md
+105-1Lines changed: 105 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,108 @@ import FeatureAvailability from '@site/src/components/FeatureAvailability';
4
4
5
5
<FeatureAvailabilitysaasOnly />
6
6
7
-
This page is under construction - more details coming soon!
7
+
## Install the DataHub Slack App into your Slack workspace
8
+
9
+
The following steps should be performed by a Slack Workspace Admin.
10
+
- Navigate to https://api.slack.com/apps/
11
+
- Click Create New App
12
+
- Use “From an app manifest” option
13
+
- Select your workspace
14
+
- Paste this Manifest in YAML. Suggest changing name and `display_name` to be `DataHub App YOUR_TEAM_NAME` but not required. This name will show up in your slack workspace
15
+
```yml
16
+
display_information:
17
+
name: DataHub App
18
+
description: An app to integrate DataHub with Slack
19
+
background_color: "#000000"
20
+
features:
21
+
bot_user:
22
+
display_name: DataHub App
23
+
always_online: false
24
+
oauth_config:
25
+
scopes:
26
+
bot:
27
+
- channels:read
28
+
- chat:write
29
+
- commands
30
+
- groups:read
31
+
- im:read
32
+
- mpim:read
33
+
- team:read
34
+
- users:read
35
+
- users:read.email
36
+
settings:
37
+
org_deploy_enabled: false
38
+
socket_mode_enabled: false
39
+
token_rotation_enabled: false
40
+
```
41
+
42
+
Confirm you see the Basic Information Tab
43
+
44
+

45
+
46
+
- Click **Install to Workspace**
47
+
- It will show you permissions the Slack App is asking for, what they mean and a default channel in which you want to add the slack app
48
+
- Note that the Slack App will only be able to post in channels that the app has been added to. This is made clear by slack’s Authentication screen also.
49
+
- Select the channel you'd like notifications to go to and click **Allow**
50
+
- Go to DataHub App page
51
+
- You can find your workspace's list of apps at https://api.slack.com/apps/
Here you'll find a “Bot User OAuth Token” which DataHub will need to communicate with your slack through the bot.
60
+
In the next steps, we'll show you how to configure the Slack Integration inside of Acryl DataHub.
61
+
62
+
## Configuring Notifications
63
+
64
+
> In order to set up the Slack integration, the user must have the `Manage Platform Settings` privilege.
65
+
66
+
To enable the integration with slack
67
+
- Navigate to **Settings > Integrations**
68
+
- Click **Slack**
69
+
- Enable the Integration
70
+
- Enter the **Bot Token** obtained in the previous steps
71
+
- Enter a **Default Slack Channel** - this is where all notifications will be routed unless
72
+
- Click **Update** to save your settings
73
+
74
+

75
+
76
+
To enable and disable specific types of notifications, or configure custom routing for notifications, start by navigating to **Settings > Notifications**.
77
+
To enable or disable a specific notification type in Slack, simply click the check mark. By default, all notification types are enabled.
78
+
To customize the channel where notifications are send, click the button to the right of the check box.
79
+
80
+

81
+
82
+
If provided, a custom channel will be used to route notifications of the given type. If not provided, the default channel will be used.
83
+
That's it! You should begin to receive notifications on Slack. Note that it may take up to 1 minute for notification settings to take effect after saving.
84
+
85
+
## Sending Notifications
86
+
87
+
For now we support sending notifications to
88
+
- Slack Channel ID (e.g. `C029A3M079U`)
89
+
- Slack Channel Name (e.g. `#troubleshoot`)
90
+
- Specific Users (aka Direct Messages or DMs) via user ID
91
+
92
+
## How to find Team ID and Channel ID in Slack
93
+
94
+
- Go to the Slack channel for which you want to get channel ID
95
+
- Check the URL e.g. for the troubleshoot channel in OSS DataHub slack
0 commit comments