Create the Slack App
Log in to Slack API Console
Log in to your Slack API Console at https://api.slack.com/apps.
Create a new App
Click on “Create New App” and choose From scratch.
Enter an App Name and select your Slack workspace, then click Create App.
Configure OAuth & Permissions
- In your app settings, go to OAuth & Permissions.
- Under Redirect URLs, add the callback URL:
https://api.stackone.com/connect/oauth2/slack/callback - Click Save URLs.
Add Scopes
- In OAuth & Permissions, scroll to Scopes.
- Add the required Bot Token Scopes (e.g.,
chat:write,channels:read,groups:read,im:read,mpim:read, etc. as needed for your use case). - Click Save Changes.
Install the App to Workspace
- In OAuth & Permissions, click Install App to Workspace.
- Authorize the app for your workspace.
Enable the StackOne Slack Integration
Enable the Integration
- Go to the StackOne app > Auth Configs.
- Navigate to Messaging.
- Find Slack and click +.
Setup the Integration
- Authentication Type: OAuth 2.0
- Client ID: The Client ID of your Slack app (from previous steps).
- Client Secret: The Client Secret of your Slack app (from previous steps).
- Scopes: The scopes you configured in your Slack app.
Connect the Account
- Go to the StackOne app > Accounts.
- Click Link Test Account.
- Click Slack.
- Click Connect.
Congratulations, you’re all set!