Cake Agents drives sessions from Slack through a single Events API endpoint:Documentation Index
Fetch the complete documentation index at: https://docs.cake.ai/llms.txt
Use this file to discover all available pages before exploring further.
scripts/setup-slack helper to generate an app manifest pre-filled
with the right URLs, install the app to your workspace, and persist the
resulting secrets.
Prerequisites
- A running Cake Agents deployment reachable from Slack (a public origin, or
the dev origin derived from
ISTIO_HOST_DOMAIN). - Permission to create Slack apps in your workspace.
Run the setup script
From the repository root:Common options
| Flag | Default | Description |
|---|---|---|
--origin | CAKE_AGENTS_ORIGIN, or https://<hostname-prefix>.$ISTIO_HOST_DOMAIN when ISTIO_HOST_DOMAIN is set | Public origin Slack will call. |
--base-path | BASE_PATH (or empty) | Path prefix in front of the API. |
--format | url | Emit the manifest as a Slack-app-create link (url) or raw json. |
What it does
- Prints a Slack app creation link that embeds an App Manifest as URL-encoded JSON.
- Prompts for
SLACK_SIGNING_SECRETfirst. - After you install the app to your workspace, prompts for
SLACK_BOT_TOKEN. - Writes (or updates)
./.slack-creds(a gitignored file) with both secrets.
Example
Generate a manifest URL for a custom origin and base path:Verify the integration
After credentials are saved and the server restarts:- Invite the bot to a channel.
- Mention it (
@your-bot help) or open a direct message to triggerapp_mention/message/assistant_thread_startedevents. - Confirm sessions appear in the Cake Agents UI at http://localhost:4000 (or your deployed origin).