Integrate Tableau with a Slack Workspace

Beginning with version 2021.3, Tableau Server and Tableau Cloud support integration with the Tableau App for Slack, so your team can collaborate – share Tableau snapshots, search for Tableau content and receive notifications about Tableau data – right where they’re working in a Slack workspace.

The Tableau App for Slack lets you connect your Tableau site with a Slack workspace. After it’s enabled, Tableau users can:

  • See notifications in Slack when team mates share content with them, when they're mentioned in a comment or when data meets a specified threshold in a data-driven alert. If a site administrator in Tableau Cloud or a server administrator in Tableau Server enables notifications on a site, users can control which notifications they receive in Slack by configuring their Account Settings(Link opens in a new window).
  • See a preview of a viz when a Tableau URL is pasted into Slack, allowing users to share data-related content with context directly in Slack.
  • Search for Tableau views or workbooks in Slack DMs and channels.
  • Access Recents and Favourites from the Tableau App for Slack.

For more information, see Receive Notifications, Search and Share Using the Tableau App for Slack.

Note: Some notifications preferences might not be available if the features are turned off for your site. For example, if the User Visibility setting is set to Limited, notifications are turned off. For more information, see Site Settings Reference and Manage Site User Visibility.

To integrate Slack with your Tableau site, there are a few necessary configuration steps, including some in your Tableau site and some in the Slack workspace you want to connect. This overview outlines these steps for both Tableau site administrators on Tableau Cloud or a Tableau Server Administrator on Tableau Server and Slack workspace administrators.

Requirements

Enabling Tableau in Slack requires both a Slack workspace administrator and either a Tableau site administrator in Tableau Cloud or a Tableau server administrator in Tableau Server.

Connect a Tableau Server site to a Slack workspace

A Tableau Server administrator can connect a Slack workspace to one Tableau Server site. Connecting your Tableau site to a Slack workspace consists of three tasks:

  • Slack workspace administrator: Create a private Slack application on the Slack API platform.
  • Tableau server administrator: Use the app information to add an OAuth client.
  • Tableau server administrator: Connect your Tableau site to Slack.

Each Tableau site can connect to one Slack workspace per Tableau site. For information about creating Slack apps, see Slack's Best practices and guidelines for Slack platform(Link opens in a new window).

Note: If using a proxy server, make sure you've followed proxy settings guidance in Configuring Proxies and Load Balancers for Tableau Server before you begin.

Additionally, for Windows:

Step 1: Create a Tableau App for Slack

Slack workspace administrator:

  1. Go to Slack's API documentation(Link opens in a new window) and select Create New App
  2. Select From Scratch, then add an app name and the workspace for the app to exist within. Select Create New App.
  3. Give your app a name and select a Slack workspace.
  4. You'll be taken to the app's basic information settings. From here, you can modify the app's privileges, description and more.
  5. Select Bots from the Add features and functionality section, then select Review Scopes to Add.
  6. Under Bot Token Scopes, add these scopes:
    • chat:write
    • files:write
    • users:read
    • users:read.email
  7. Select OAuth & Permissions from the navigation menu.

    Important: Opting in to token rotation for your Tableau App for Slack will cause notifications to stop working in Slack. Token rotation can't be removed after it's added.

  8. Select Add New Redirect URL.
  9. Add a fully qualified URL https://<Tableau Server URL>/auth/add_oauth_token
  10. Select Basic Information from the navigation menu.
  11. Give the Client ID, Client Secret and Redirect URL to the Tableau server administrator.
  12. Add the Tableau App for Slack into the Slack workspace by selecting Basic Information from the Settings menu, then Install.

Note: Administrators can share their app with other Slack workspaces by activating a distribution option. For more information, see Manage Distribution(Link opens in a new window) in Slack's documentation.

Step 2: Add an OAuth client to the Tableau site

Tableau server administrator:

The Tableau server administrator will add the OAuth client from the Slack workspace administrator, then connect the Tableau site to Slack.

  1. Sign in to the site you’d like to connect to Slack. On the Settings page of your site, select the Integrations tab.

    Integrations tab in Tableau site settings

  2. Under Slack Connectivity, select Add OAuth Client.
  3. Add the Client ID, Client Secret and Redirect URL from the Slack workspace administrator, then select Add OAuth Client in the dialog.
  4. The connection type and Client ID will appear in the table.

Step 3: Finalise the connection

Tableau server administrator:

When the OAuth client is added under Slack Connectivity:

  1. Select Connect to Slack.
  2. Follow the prompt to sign in to your Slack workspace.
  3. Select Allow to give your Tableau site access to the Slack workspace.

The Tableau site and Slack workspace are now connected. In the Slack workspace, licensed Tableau users can receive Slack notifications when someone shares Tableau content, when a data-driven alert is triggered or when someone is @mentioned in a comment on a view or workbook.

Disconnect a Tableau site from Slack

As a site admin, you can disconnect a Tableau site from a Slack workspace by selecting Disconnect from Slack in the Integrations tab of site settings. Users continue to receive notifications for some time. The OAuth client information you added in Step 2 is retained and can be used to connect to a new workspace if needed.

As a Slack user, you can disconnect from Slack by selecting Disconnect from Tableau from the Home tab in the Tableau App for Slack.

Update your Tableau App for Slack

When a new version of the Tableau App for Slack is available, Tableau recommends updating the application to maintain app performance and use new features.

To update the Tableau App for Slack:

  1. From the Settings page of your site, select the Integrations tab.
    Integrations tab in Tableau site settings
  2. Under Slack Connectivity, select Connect to Slack.
  3. Select Update.

Note: App updates applied by any Tableau admin affect all Tableau sites connected to the same workspace.

Troubleshoot the Tableau App for Slack

It’s a best practice to Manage app approvals for your Slack workspace(Link opens in a new window). However, if your Slack workspace allows users who aren’t admins to remove apps, it’s possible that a user can remove the Tableau App for Slack for the site. In this scenario, other users will see the Tableau App for Slack, but its features won’t work as expected. To resolve this issue, have your Slack admin uninstall and reinstall the Tableau App for Slack. Then, have your admin follow the steps to connect Slack with your Tableau site.

Thanks for your feedback!Your feedback has been successfully submitted. Thank you!