# Kloudless API interaction

  • Connector Category: Chat
  • Unified APIs Supported: Chat, Storage, Activity, Team

# Setting up OAuth Keys for Slack

To set up OAuth keys for Slack, sign in to your Kloudless Account and go to the Third Party Services Configuration section. Navigate to the section for Slack and click on the link. The instructions detail how to set up the Slack application, and the permissions needed to extend access to the Kloudless integration.

# Creating/Registering an Slack Application

Create a Slack Application. Once you have an account, you can follow Slack's OAuth guide to create an app.

# Required Scopes

These scopes will be requested for a normal (non-admin) connection:

users:read
users:read.email
users.profile:read
channels:read
channels:write
files:read
files:write:user
search:read
chat:write:user
im:read
im:write
mpim:read
mpim:write
channels:history
groups:history
groups:write
groups:read
im:history
mpim:history
usergroups:read

If you plan to use raw requests for more Slack features, please pay attention to any extra scopes required to be configured.

Register a Slack Event Subscriptions URL to access user event data and receive notifications on Slack Events. Add the following Request URL for the Event Subscription:

https://api.kloudless.com/services/slack/notification/<YOUR_SLACK_CLIENT_ID> where <YOUR_SLACK_CLIENT_ID> is your Slack Client ID.

# Setup Admin Access for slack

For admin access, these extra scopes will be requested in addition to the ones for normal connection:

auditlogs:read
discovery:read
discovery:write

Two preparation steps are required for the discovery:read and discovery:write scopes:

  1. Contact feedback@slack.com to enable the discovery:* scopes for your Slack developer app.
  2. Connecting customers will require Slack Enterprise and must send an email to exports@slack.com requesting the Discovery APIs to be enabled for their enterprise.

# Support

Please contact us at support@kloudless.com with any questions you may have. We'd be happy to help you get set up.