How to get a Slack API key
Checked by hand 2026-10-30
- Open Your Apps on Slack's API site, signed in to a workspace where you are an admin or allowed to install apps. Click Create New App (or Create an App if you have none).
- Pick Blank app, then click Continue.
- Type an app name, choose your workspace, and click Continue. The workspace cannot be changed later.
- Search for and add the bot scopes your app needs (at least one, such as chat:write). Click Continue, then Continue again past events unless you need them.
- Click Create and Install, and click Allow if Slack asks you to approve the install.
- Click Go to App Settings, then open OAuth and Permissions in the left menu. Your Bot User OAuth Token (starting xoxb-) is in the OAuth Tokens box. Footgun reads it from the page.
What you end up with
- SLACK_BOT_TOKEN