Setting up DataHub Slack Integration for Notifications

Original Slack Thread

<@U06TM7M40RK> can the open source DataHub integrate with Slack to send notifications

Yes, the open-source DataHub can integrate with Slack to send notifications. According to the <https://github.com/datahub-project/datahub/blob/master/docs/managed-datahub/slack/saas-slack-setup.md|DataHub Slack Setup Guide>, you can configure Slack to receive notifications for various events, including ingestion failures. This involves installing the DataHub Slack App into your Slack workspace, generating necessary tokens, and configuring the integration within DataHub.

Would you like more detailed steps on setting up this integration?

Sources:

<@U06TM7M40RK> this documentation seems to refer to DataHub Cloud

You’re correct that the documentation I referred to primarily discusses the setup for DataHub Cloud. However, the open-source version of DataHub also supports Slack integration through the Actions Framework. According to the <https://github.com/datahub-project/datahub/blob/master/docs/actions/actions/slack.md|Slack Integration Guide>, you can set up Slack notifications in a self-hosted DataHub instance by configuring environment variables and using the datahub-actions container.

To set up Slack integration in the open-source version, you need to:

  1. Obtain Slack Credentials: Get the Signing Secret and Bot User OAuth Token from your Slack app’s settings.
  2. Configure Environment Variables: Set the necessary environment variables such as DATAHUB_ACTIONS_SLACK_ENABLED, DATAHUB_ACTIONS_SLACK_SIGNING_SECRET, DATAHUB_ACTIONS_SLACK_BOT_TOKEN, and DATAHUB_ACTIONS_SLACK_CHANNEL.
  3. Restart the DataHub Actions Container: Restart the datahub-actions container to apply the changes.

Would you like more detailed instructions on any of these steps?

Sources:

Hi :slight_smile: ! Did this interaction resolve your issue or do you still require assistance ?

Please tag @ RunLLM if you still need further assistance !

Or tag @Datahub Community Support if you require a person to take a look :slight_smile:

Hope this helps ! ><