Connect to Slack

Required permissions for setup

Account details

  1. Open Slack on web.
  2. Look for your workspace name in the top left. Click your workspace name and find the Slack URL in the menu, ending in .slack.com. The domain is the portion before .slack.com, e.g. if the URL is yourdomain.slack.com, the domain would be yourdomain. Enter the domain in Glean.
  3. The URL you’re on should be of the form app.slack.com/client/T12345678. Copy this last part of the URL and paste it into Glean as the workspace ID. Note the workspace ID will start with T.

Create an app

  1. Visit the Slack API site and click Create New App.
  2. Choose From an app manifest.
  3. Select the same workspace you chose on the previous screen and click Next.
  4. Replace existing YAML comment with the following and click Next. %manifest%
  5. Click Create.

Generate a token

  1. Click the Basic Information tab and scroll down until you see App-Level Tokens.
  2. Click Generate Token and Scopes.
  3. Name the token Glean
  4. Click Add Scope and add the scope authorizations:read.
  5. Click Generate and paste the token into Glean.

Add an icon

  1. Click the Basic Information tab.
  2. Download this logo.
  3. Click Choose File and select the logo you just downloaded above.

Enable Event Subscriptions

  1. Click on Event Subscriptions tab.
  2. Check if the Enable Events toggle is on. If not, turn it on and Save Changes at the bottom of the page.

Connect to Glean

  1. Click the Collaborators tab and add at least one additional administrator from your company.
  2. Copy and paste the following fields from Basic Information into Glean: Client ID, Client Secret, Signing Secret.
  3. Go to OAuth & Permissions from the left navigation and click Install to Workspace.
  4. Click Save in Glean to save the entered information, then click the link below it to finish authorizing access to Slack. Video Guide for Complete Setup

Was this page helpful?