Slack Notifications for On-prem Installations
To use Aviator’s Slack notifications, your team will need to set up a Slack app. Follow the steps below.
Basic Information. Here you will find the information that allows your app to access the Slack API.
You’ll also need to add info for your GitHub app. Find it under
Client secretsat the top of your app page.
Set the following environment variables:
SLACK_APP_ID = "..."
SLACK_CLIENT_ID = "..."
SLACK_CLIENT_SECRET = "..."
SLACK_SIGNING_SECRET = "..."
GITHUB_CLIENT_ID = "..."
GITHUB_CLIENT_SECRET = "..."
Feel free to set an app icon for Aviator in
Select the following:
- Incoming Webhooks
- Slash Commands
Select these functionalities.
Set up a redirect URL:
Select the following Bot Token Scopes:
incoming-webhook. Please make sure to set these correctly, they are required for the Slack OAuth flow.
Add bot scopes.
Create the following slash command, it will link a user’s Slack account with their Aviator activity on GitHub so individuals can receive DMs about their own PRs.
connect GitHub to your Slack account
Follow the instructions here to connect the app to your account and get notifications: Slack Integration.