docs/managed-datahub/subscription-and-notification.md
import FeatureAvailability from '@site/src/components/FeatureAvailability';
DataHub's Subscriptions and Notifications feature gives you real-time change alerts on data assets of your choice. Currently, DataHub supports notifications on Slack, Microsoft Teams, and Email. Subscriptions can be created for both individual users and groups.
Email subscriptions & notifications are enabled by default.
To install the Slack App, see: 👉 Configure Slack for Notifications.
To install the Microsoft Teams App, see: 👉 Configure Microsoft Teams for Notifications.
<p align="center"> </p>To manage personal notification settings, go to Settings > "My Notifications". From here, enable or disable each notification channel & provide your handle.
To manage group notifications, navigate to the group page, and select the Notifications tab. Here, you can enable or disable each notification channel & provide relevant handles.
If you want to create and manage group-level Subscriptions for your team, you will need the following privileges:
Admin-only: And to manage other user's subscriptions:
The first step to getting notified is identifying the assets you want to subscribe to. DataHub’s Lineage and Impact Analysis features can help you identify upstream entities that could impact the assets you use and are responsible for. You can use the Subscriptions & Notifications feature to sign up for updates for your entire team, or just for yourself.
Select the Subscribe Me option in the Subscriptions dropdown menu.
<p align="center"> </p>Pick the updates you want to be notified about, and connect your Slack account by using your Slack Member ID.
<p align="center"> </p>:::note You can find your Slack Member ID in your profile settings.
<p align="center"> </p> :::The dropdown menu next to the Subscribe button lets you choose who the subscription is for. To create a group subscription, click on Manage for Groups.
<p align="center"> </p>Next, customize the group's subscription by selecting the types of changes you want the group to be notified about.
<p align="center"> </p>Connect to Slack. Currently, DataHub Cloud's Subscriptions and Notifications feature integrates only with Slack. Add your group’s Slack Channel ID to receive notifications on Slack. (You can find your Channel ID in the About section of your channel on Slack.)
<p align="center"> </p>You can enable, disable, or manage notifications at any time to ensure that you receive relevant updates.
Simply use the Dropdown menu next to the Subscribe button to unsubscribe from the asset, or to manage/modify your subscription (say, to modify the changes you want to be updated about).
You can also view and manage your subscriptions in your DataHub settings page.
<p align="center"> </p>You can view and manage the group’s subscriptions on the group’s page on DataHub.
<p align="center"> </p>You can always subscribe to all assertion status changes on a table using the steps outlined in the earlier sections. However, in some cases you may want to only be notified about specific assertions on a table. For instance, a table may contain several subsets of information, segmented by a category column - so there may be several different checks for each category. As a consumer, you may only care about the freshness check that runs on one specific category of this larger table.
You can subscribe to individual assertions by clicking the bell button on the assertion itself - either in the list view:
<p align="center"> </p>Or on the assertion's profile page:
<p align="center"> </p>Note: if you are subscribed to all assertions at the dataset level, then you will not be able to Unsubscribe from an individual assertion.
<p align="center"> </p>You must first remove your dataset-level subscription:
<p align="center"> </p>Then select individual assertions you'd like to subscribe to:
<p align="center"> </p>You can create and remove subscriptions programmatically using the GraphQL APIs or the Python Subscriptions SDK.
At the user and group -levels, you can configure one default email and Slack channel as well as overwrite that email/channel when you go to a specific asset to subscribe to.
To configure multiple channels, as a prereq, ensure you have the appropriate privileges. And then: