Connect Slack
Step-by-step guide to connecting your Slack workspace to Leanbox.
Step 1: Create a Slack app
- Go to the Slack API dashboard and sign in with the Slack account you want to triage.
- Click Create New App > From scratch.
- Name the app
Leanboxand pick the workspace you want to install it into. - Click Create App — you'll land on the app's Basic Information page.
Step 2: Configure OAuth and redirect URL
- In the left sidebar, open OAuth & Permissions.
- Under Redirect URLs, click Add New Redirect URL and enter the URL where your Leanbox is hosted followed by
/api/slack/callback(e.g.https://your-leanbox-domain.com/api/slack/callback). - Click Add, then Save URLs.
Step 3: Add scopes
Still on OAuth & Permissions, scroll down to Scopes.
Leanbox connects entirely as you — it reads what you can read and posts replies from your account. All scopes go under User Token Scopes. Leave Bot Token Scopes empty.
Under User Token Scopes, add:
channels:history— read messages in public channels you're a member of.channels:read— list public channels you're a member of.chat:write— post replies from your account when you send a draft.groups:history— read messages in private channels you're a member of.groups:read— list private channels you're a member of.im:history— read your direct messages.im:read— list your DM conversations.mpim:history— read your group DMs.mpim:read— list your group DMs.users:read— resolve user names from Slack IDs.
Only what you can already see
Leanbox reads the same conversations you do: your DMs (1-1 + group) and the
public/private channels you're a member of. It doesn't crawl the workspace
for @-mentions or join channels on your behalf.
Posting as you
When Leanbox sends a draft, the message is posted from your Slack account — not from a bot. It looks identical to a message you'd type yourself.
Step 4: Grab your Client ID and Client Secret
- In the left sidebar, click Basic Information.
- Scroll to App Credentials.
- Copy the Client ID and Client Secret values and store them somewhere safe.
Step 5: Connect Slack in Leanbox
- Open Leanbox and click Connect Slack on the home page.
- Paste your Client ID and Client Secret into the dialog.
- Click Save & Connect — you'll be redirected to Slack.
- Pick the workspace, then approve the requested scopes.
- You'll land back in Leanbox with the Slack card showing a Connected status.
Heads up
You must approve all requested scopes — denying any will leave the connection in a broken state and Leanbox won't be able to read your messages.