Help · bots
Connect a bot to the hub
Connect a bot to the hub
Every bot gets its own key on its page under Bots. The key reaches that bot's member and nothing else.
- Open the bot, press Create key, copy it once.
- Give the bot the MCP address
/api/mcpwith the headerAuthorization: Bearer ibb_…, or call the REST twins under/api/v1/…with the same header. - On start, the bot calls
get_structureandget_rulesand keeps the copy. PassifVersionnext time and the hub answers "unchanged" when nothing moved. - As it works, it sends
heartbeat,log_event, and when a thread ends a shortthread_notesaying which rule it applied. - When its prompt changes it sends
backup_promptwith the hash first; the hub only asks for the body when the hash is new.
The hub is never in the bot's hot path. If the hub is down the bot keeps its last copy and carries on.
Still stuck? Contact us.