Skip to main content

Slack

Connect Toby to Slack to search channels, read history, and post messages from chat.

CLI name: slack

Prerequisites

  • A Slack workspace where you can install or authorize an app
  • Either OAuth app credentials or a bot token (xoxb-...)

Configure

toby config

Go to Integrations → Slack and choose an Auth Method:

Create a Slack app with OAuth redirect support. In configure, enter:

FieldDescription
OAuth Client IDFrom your Slack app
OAuth Client SecretFrom your Slack app
OAuth Redirect URI (optional)Defaults to a localhost callback if omitted

Manual bot token

Choose Manual bot token and paste your Bot Token (xoxb-...).

Save the configuration.

Connect

toby connect slack
  • OAuth: Toby runs a PKCE flow on localhost; approve in the browser.
  • Bot token: Connect validates the token and marks Slack connected.

Verify

toby status integration -i slack

Disconnect

toby disconnect slack

Example chat prompts

  • “Search #engineering for messages about the outage in the last 48 hours.”
  • “Post a short standup summary to #team-updates.”