Slack

Source Connector

Overview

Slack

This source connector fetches access and integration logs for your team via ​the Slack Web API.

Streams

Data SourceStream Name
team.accessLogsteam_accesslogs
team.integrationLogsteam_integrationlogs

Authentication

The following Authentication methods are supported by this connector:

  • Bot User OAuth Access Token
  • Legacy API Keys
    • Note: Slack no longer allows for the creation of new Legacy API keys. If you already have one provisioned, you can still use that key in the User OAuth Token field, instead of using a Bot User OAuth Access Token.

Prerequisites

  1. Create a Slack App.
    1. When completed, you will be redirected to the "Basic Information" page for your app
  2. Grant Permissions.
    1. Go to OAuth & Permissions > User Token Scopes > Add an OAuth Scope. You will need to add the following scopes:
      1. User Token Scopes:
        1. admin
          Administer a workspace
  3. Install App.
    1. Scroll to the top of the page and click the "Install to " button. Click Allow when asked. This will generate a "User OAuth Token". Copy this value to use in the Tarsal configuration.
      1. The token should begin with xoxp-
    2. Note: if making scope changes to an app, be sure to reinstall the app to the workspace for the changes to take affect.

Configuration

FieldRequiredDescription
User OAuth TokenyesUser OAuth Access Token

Connector Limitations

The source connector is restricted by rate limits.