Get Slack API Key
To use the Slack node, you need a Bot Token. This guide describes how to create a Slack App and get a token.
π Prerequisites
- β Slack Workspace (Admin rights required)
π API Key Issuance Steps
Step 1: Create Slack App
- Go to Slack API: Your Apps
- Click "Create New App"
- Select "From scratch"
- Enter App Name (e.g., "CodeFreeBot") and select Workspace
- Click "Create App"
Step 2: Set Permissions
- "OAuth & Permissions" in left menu
- Scroll to "Scopes" -> "Bot Token Scopes"
- Click "Add an OAuth Scope"
- Add the following permissions:
chat:write(Send messages)channels:read(Read channel info)groups:read(Read private channel info)
Step 3: Install App
- Scroll up to "OAuth Tokens for Your Workspace"
- Click "Install to Workspace"
- Click "Allow"
Step 4: Copy Token
- Copy "Bot User OAuth Token" (
xoxb-...) - Save securely
Step 5: Invite Bot to Channel
- Go to Slack Channel
- Type
/invite @CodeFreeBot(or your app name) - Enter
βοΈ CodeFreeAI Configuration
- Add Node: Drag "Slack" node
- Enter Token: Paste Token into "Bot Token" field
- Enter Channel ID: Paste Channel ID