Question
How do I configure FTK Central to collect from Slack?
Prerequisites
- A Slack(API) account for your organization
- Administrator account credentials for your organization's Slack workspace.
Answer
- Go to https://api.slack.com.
- Sign into your Workspace.
- Click on Create an App.
- If you cannot find this option, ensure you have not been redirected away from https://api.slack.com.
- If you cannot find this option, ensure you have not been redirected away from https://api.slack.com.
- Click From Scratch.
- Enter an App Name, select a Workspace, and click Create App.
- Scroll down to the to App Credentials section and copy your Client ID, and Client Secret for use in FTK Central.
- Scroll back up, and click OAuth & Permissions on the left.
- Scroll down to the Redirect URLs section, and click Add New Redirect URL.
- Enter "https://localhost:4443/api/SlackAccessData" and click Add and Save URLs.
Note: If FTK Central is using a custom port, change this URL to reflect that - In the Scopes section, under User Token Scopes, use Add an OAuth Scope to add each of the Scopes below.
- channels:history
- channels:read
- emoji:read
- files:read
- groups:history
- groups:read
- identify
- im:history
- im:read
- mpim:history
- mpim:read
- search:read
- users:read
- users:read.email
- Scroll up to the OAuth Tokens for Your Workspace heading and click Install to Workspace.
- Click Allow when prompted.
- From the FTK Central server, log in to FTK Central and click Data Sources.
- Click Slack.
- Click Add Slack.
- Do the following:
- Provide a Name for the connector.
- Enter the previously copied Client ID and Client Secret.
- In the Redirect Url field, enter https://localhost:4443/api/SlackAccessData
Note: If FTK Central is using a custom port, change this URI to reflect that - Click Save.
- Under Actions, click Edit.
- Under Authorize, click Slack.
- Follow the prompts to authorize your connector, then click Save.
- Confirm the Refresh Token Status for your connector shows Active.