NotificationsPDF version

Setting up Slack for resource notifications [Technical Preview]

You can enable Slack as a delivery channel to receive resource notifications as Slack messages.

To enable the Slack integration, the Cloudera Notifications application needs to be added to the Slack workspace. After the connection is established between the Notification service and Slack, you can provide the Slack channel ID for the Distribution list to receive the resource notifications as Slack messages.

Before enabling Slack for the Distribution lists, you need to ensure that the Cloudera Notifications application can access your Slack workspace.

The Cloudera Notifications application depends on the Cloudera Control Plane region. When searching for the application, the name reflects which region the application is tied to:

  • Cloudera Notifications - US1
  • Cloudera Notifications - EU1
  • Cloudera Notifications - AP1
The Notification service uses OAuth authentication to connect to your Slack workspace. When connecting to Slack, you are asked to grant access to the following actions:
  • Viewing content and information: This means that the Notification service is able to read basic information about the Slack channel and conversations strictly to verify channel metadata.
  • Performing actions in channel and conversation: This means that the Notification service is able to send messages to the Slack channel as @cloudera_notification.
  • Ensure that you have administrative access to the Slack workspace that will be used to integrate with the Notification service. Administrator access is required to install the Cloudera Notifications application on the workspace.

Required role: PowerUser

  1. Click Notifications in Cloudera Management Console.
  2. Select Channel Integrations.
  3. Click Connect to Slack.
    You are redirected to the Slack interface to grant access to the Cloudera Notifications application.
  4. Review the scope of the permissions, and ensure you only give permissions to the read and write actions.
  5. Click Allow.
    You are redirected to the Cloudera Management Console, where the connection is established.
After the integration between the Notification service and Slack is successful, you can add Slack as a delivery channel for Distribution lists to receive the resource notifications as Slack messages.

After subscribing to a resource notification, you can add Slack as a delivery channel to an existing or newly created Distribution list.

Required role: NotificationDistributionListAdmin

  1. Select Manage Distribution Lists on the Notifications page.
  2. Click , and select Edit.
  3. Provide the Slack Channel ID on the Distribution List configuration page.
    1. Navigate to the Slack interface.
    2. Copy the channel ID of the public Slack channel from the About page.
  4. Click Add.
  5. Select Slack under Delivery to for the resource notification.
  6. Click Save.

We want your opinion

How can we improve this page?

What kind of feedback do you have?