diff --git a/docs/2-handbook/swarm/ui.md b/docs/2-handbook/swarm/ui.md index 0bdb65f3..647ceafa 100644 --- a/docs/2-handbook/swarm/ui.md +++ b/docs/2-handbook/swarm/ui.md @@ -870,8 +870,13 @@ it carries an **own account** badge. The card requests the list again when a link dialog closes. - **link a matrix account** — `PUT /api/hives/{hive}/agents/{agent}/matrix-accounts/{account}`, - either a pasted bearer token or a user id + password that - swarm-controller logs in with, storing the token it gets back. + either a user id + password that swarm-controller logs in with, storing the + token it gets back, or a pasted bearer token. The form starts on the password + login: the account gets a device of its own, and the form notes that an + operator who also logs in to it appears to the agent as a second device. Choosing + **paste a token** shows a warning: a token from Element or another client + belongs to a device that's already logged in, so the agent can't use that + device's encryption keys and the account won't decrypt encrypted rooms. - **link a forge account** — `PUT /api/hives/{hive}/agents/{agent}/forge-accounts/{label}` with a forge URL and an access token, stored at `swarm/agents//forge/