Slack Integration
Prerequisites
Section titled “Prerequisites”A Slack workspace where you can install apps.
- Create a Slack app at https://api.slack.com/apps
- Add the
chat:writeandchat:write.publicBot Token Scopes - Install the app to your workspace
- Copy the Bot User OAuth Token (starts with
xoxb-)
Configure Junando
Section titled “Configure Junando”In your .env file, set:
SLACK_BOT_TOKEN=<YOUR_TOKEN>SLACK_SIGNING_SECRET=<YOUR_TOKEN>SLACK_CHANNEL=#incidentsFor AWS deployments, store these values as SSM SecureString parameters under /junando/slack-bot-token, /junando/slack-signing-secret, and /junando/slack-channel.
Invite the Bot
Section titled “Invite the Bot”Invite the Slack bot to the target channel:
/invite @junandoSend a test alert:
pnpm run generate:alertYou should receive a structured incident message in your configured Slack channel.
Troubleshooting
Section titled “Troubleshooting”- Ensure the bot token has the correct OAuth scopes
- Verify the bot is invited to the target channel
- Check the Lambda logs for
notifystage output