Slack Connector
Use this page when you need the Slack-side setup details for the Slack connector. For shared connector behavior, start with Connectors Overview and Provider Auth And Setup.
Runtime Shape
Section titled “Runtime Shape”- Implemented modes: fixed
live - Auth binding: Better Auth generic OAuth provider id
slack - Callback URI examples:
http://localhost:3001/api/auth/oauth2/callback/slackhttps://auth.example.com/api/auth/oauth2/callback/slack
- Setup console URL:
- Required connector scopes:
users:readusers:read.emailsearch:read.publicsearch:read.privatesearch:read.imsearch:read.mpimsearch:read.files
Provider-Specific Gotchas
Section titled “Provider-Specific Gotchas”- Slack connector auth depends on user scopes. Do not assume a bot-token-only install is enough for this repo.
- Slack connector auth now includes both RTS search scopes and the matching
*:historyuser scopes so the runtime can make one boundedconversations.repliesorconversations.historyfollow-up call when the top search hit needs more context. - Slack is live-only in this repo. There is no Slack indexed sync path, no Slack Meltano tap, and no persisted Slack RTS copy.
- Connect-time linking probes
assistant.search.contextbefore the connector is saved. If the Slack app or workspace is not eligible for RTS, the connect flow fails withconnector-slack-live-search-not-eligible. - Slack RTS responses can include contextual surrounding messages, and the runtime may add one bounded thread/channel follow-up call for the top grounded message only. Treat all Slack retrieval data as transient runtime grounding only; do not persist it.
- Enterprise Grid org-ready support is intentionally out of scope for V1. Cross-workspace Slack search would require shared connector-model changes first.
- Slack does not currently get an explicit provider-side
select_accountprompt from this repo’s auth config, so the shared connector configure flow must remain the place where already linked Slack accounts are chosen before a connector is saved.
Canonical Sources
Section titled “Canonical Sources”packages/domain/src/connectors/connectorRegistry.tspackages/domain/src/connectors/slackScopes.tsapps/auth/src/genericOAuthProviders.tsapps/api/src/connectors/oauthTokenClient.tsdocs/features/connectors/spec.md