// PART 06
Integration catalog and Office platform
The integration catalog is the code-defined inventory of external providers a bot may connect to, with their auth shape, credential fields, actions and priority. This page explains how the catalog is built and where its authorities live; the per-provider connector reference is generated from the seeds and checked for drift.
The two halves
| Half | Location | Role |
|---|---|---|
| Seeds (what is offered) | botserver/src/apps/integration_catalog/providers/ — category files (featured.rs, productivity.rs, developer.rs, startups.rs, small_business.rs, finance.rs, social_messaging.rs, lifestyle.rs, llm.rs) |
ProviderSeed entries: id, name, category, strategy, priority, auth profile, credential fields, action templates |
| Adapters (what actually works) | botserver/crates/botintegrations/src/providers/ |
executable integrations: ashby.rs, aws/, bluesky.rs, carriers.rs, generic/, github/, instagram.rs, linear.rs, monday.rs, plain.rs, rest_client.rs, stripe/ |
The design rule that keeps the catalog honest (#2048): a seed carries no
status field. The badge a reader sees is derived from the adapter
registry (derived_status), so a provider cannot advertise a capability the
code does not have. planned is the single explicit exception a seed may
declare.
Generated reference
The per-provider pages (status, strategy, priority, auth, credential fields,
least-privilege guidance, implemented vs advertised actions) are generated by
scripts/gen_catalogs.py; do not edit them by hand. The check mode fails
when the generated page disagrees with the seeds, the adapter registry or
botskills/**:
python3 scripts/gen_catalogs.py --check
Credentials and auth
Credential fields are declared per provider (credentials.rs), and auth
shapes are one of the declared AuthProfile variants (API key, OAuth 2.0, …).
Sensitive values never live in config.csv: the Drive monitor drops
sensitive keys from it, and resolution goes Vault-first with config.csv as
the fallback for non-sensitive values. Auth steps are shared
(auth.rs, auth_steps.rs), so a new provider inherits the OAuth dance
instead of reimplementing it.
Adding a provider
- Seed — add a
provider(id, name, ProviderSpec { … })entry in the matching category file: auth profile, credential fields, action templates, priority. Mark itplannedif no adapter exists yet. - Adapter — implement the provider in
botintegrations/src/providers/(a REST-backed provider can often build onrest_client.rsorgeneric/); register it soderived_statusflips the badge from planned to implemented. - Least privilege — the seed’s guidance should request only the scopes the implemented actions need.
- Check —
python3 scripts/gen_catalogs.py --checkand the crate tests (botintegrations/tests/).
Office platform
The office side (Docs, Sheet, Slides, editor events) is not a set of external
providers but the platform’s own office surface: its chat-reachable verbs
(docs.*, sheet.*, slides.*) are catalog commands with verb-to-route
bindings (see App commands and installs), and its editor events flow over
/api/events/* and /ws/events*.