Configurations
Slack app configuration
Slack App Configuration
Before integrating Slack with Siren, you’ll need to set up your Slack App correctly. Follow the steps below to configure the necessary settings.
Step 1: Create the Slack App
- Go to the Slack API: Your Apps Dashboard.
- Click “Create New App”.
- Choose “From scratch”.
- Enter:
- App Name (e.g.,
My Slack Bot
) - Development Slack Workspace (where the app will be installed)
- App Name (e.g.,
- Click Create App.
Step 2: Configure App Features
Depending on your use case, you may enable one or more of the following features:
2.1 OAuth & Permissions
-
Navigate to OAuth & Permissions.
-
Under Scopes, add the relevant permissions:
- Bot Token Scopes; See the table below.
OAuth Scope Description app_mentions:read
View messages that directly mention @siren-test
in conversations that the app is inchannels:history
View messages and other content in public channels that siren-test has been added to chat:write
Send messages as @siren-test
files:read
View files shared in channels and conversations that siren-test has been added to im:history
View messages and other content in direct messages that siren-test has been added to im:write
Start direct messages with people incoming-webhook
Post messages to specific channels in Slack mpim:write
Start group direct messages with people reactions:read
View emoji reactions and their associated content in channels and conversations siren-test is in users:read
View people in a workspace users:read.email
View email addresses of people in a workspace - User Token Scopes (if needed)
-
Save your changes.
2.2 Event Subscriptions (Optional)
- Navigate to Event Subscriptions and enable itto receive real-time updates.
- Add your Request URL (this should point to your server endpoint that handles Slack events).
- Subscribe to relevant Bot Events, such as:
message.channels
message.groups
reaction_added
- (Add others as needed for your app functionality)
2.3 Interactivity & Shortcuts (Optional)
- Enable Interactivity.
- Set your Request URL for handling interactive components like button clicks, menus, etc.
Once your Slack App is set up and configured, head over to the Slack Integration section to complete the integration within Siren.