slack.config(...) to register one or more Slack workspaces.
Use project credentials (default)
Save the workspace bot token (and Socket Mode app token for inbound) once in the dashboard Platforms tab. Your agent only needs project credentials — Skyline mints short-lived JWTs and talks to the hosted Slack gateway. Bot tokens never reach the agent process.Pass your own credentials
Put tokens in config (or env) when you manage Slack secrets yourself:| Option | Description |
|---|---|
tokens | Map of team id → bot token (xoxb-…) or gateway runtime JWT. |
teams | Optional metadata per team. |
endpoint | Optional Slack gateway gRPC host (host:port). Defaults to SKYLINE_SLACK_ENDPOINT. |
appTokens | Optional Socket Mode app tokens (xapp-…) when using bot tokens directly. |
slack.config() with projectId / projectSecret.
Addressing channels
teamId when multiple workspaces are configured. Use channel.reply(messageTs, "…") to thread.