Channels
Admin guide · Channels runbook
🟢 Supported · ⚠️ credentials stay in Vault · status is derived, not declared
| When to use | Before you start | Steps | Verify | Roll back |
|---|---|---|---|---|
| Connect a chat channel or integration provider | Provider status + Vault fields ready | Build feature, set secrets, connect | Catalog status, health, inbound message | Disconnect and delete Vault entry |
When to use
You are connecting a chat channel (WhatsApp, Teams, Telegram) or enabling an integration provider from the catalog. This runbook covers the decision and the verification; the per-channel pages carry the detailed setup.
Before you start
- A provider exists in two places: seeds in
botserver/src/apps/integration_catalog/and executable adapters inbotserver/crates/botintegrations/src/providers/. A seed without an adapter cannot execute anything. - Status in the connector catalog is
derived from the adapter registry:
built= adapter present and every advertised action implemented;partial= only part of the surface is covered;planned= an explicit decision;unsupported= no adapter. - Credential field names are listed without values. Secrets live in the Vault and never enter a prompt, a log or documentation.
- WhatsApp needs the
whatsappbuild feature.
Steps
## WhatsApp: confirm the feature builds (repository AGENTS.md)
cargo check -p botserver --features whatsapp
WhatsApp credentials live at the per-bot Vault path
secret/gbo/00000000-0000-0000-0000-000000000000/{bot_id}/whatsapp with the
fields whatsapp-api-key, whatsapp-verify-token, whatsapp-phone-number-id
and whatsapp-business-account-id. Set them with vault kv put using values
from your secret store; do not print them. Use a tunnel as the reverse proxy for
local webhook testing, as described in the repository AGENTS.md.
For every other provider, open the Integrations app and follow its OAuth or
API-key flow (see integrations OAuth administration).
The catalog page lists the real slugs, for example aws, github and stripe
among the built entries, and shows which ones are only partial.
Verify
| Check | Command / surface | Pass condition |
|---|---|---|
| Feature build | cargo check -p botserver --features whatsapp |
no errors |
| Catalog matches code | python3 scripts/gen_catalogs.py --check (repository root) |
exit 0 |
| Connection | Integrations app row for the provider | status chip is built or partial as expected |
| API | curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/health |
200 |
| Chat | send one message in a browser tab on the channel's host | reply arrives |
action_not_available means the action has no adapter; connection_not_found
means there is no active, non-revoked connection for the scope and provider.
Both are from botintegrations/src/providers/mod.rs, not configuration flags.
Roll back
🔴 Disconnect the provider in the Integrations app, then remove the values you
added with vault kv delete <path> and restore the previous connection record
from backup. Re-check the verification table; a removed adapter-backed action
must return unknown_action rather than a live call.
See also channel integrations, WhatsApp quick start, Teams, Telegram, LLM providers, storage services, directory services, webhook signature matrix and the connector catalog.