On this page

Connector device pairing: key, code and revoke

Last updated: 2026-11-27

A connector runs on your own computer or board and holds your models, file workspace and subaccount identity. Device pairing answers one question: only devices you personally approved may use this connector.

1. Why pairing

Pairing decides which device may use the connector; it does not remove per-action approvals. Sensitive actions still follow the connector’s approval policy.

2. Prerequisites

3. GUI steps (code first)

  1. Adding a connector opens the pairing dialog automatically; the key icon on the connector row reopens it;
  2. the client goes straight to the short-code step;
  3. on the connector machine, open the local pairing page (the dialog shows the address and a copy button) and read the 6-digit code (it expires; request a new one if needed);
  4. enter the code in the client and confirm;
  5. the connector row shows paired, and the device appears under paired devices on the local page.

Advanced: key + code mode

If the operator has not enabled code-only, the client asks for the pairing key first:

  1. copy the pairing key from the local page;
  2. paste it into the client and start pairing;
  3. read and enter the 6-digit code.

Key mode adds a factor for connectors touched by more people; code-only is enough on a trusted intranet.

4. Headless / command-line connectors

cd <connector directory>
./conn-server pair show          # pairing key and paired devices

During pairing, the short code is printed in the connector log:

grep 'pairing session' <connector log> | tail -1

Without a browser, use SSH port forwarding to open the pairing page locally, or follow the deployment guide.

Never post the pairing key, pair.key or short codes to chats, tickets or public channels.

5. Revoke, switch machines, lost key

ScenarioAction
Revoke a devicelocal pairing page → paired devices → revoke; requests from that device stop immediately
New computer / reinstallpair the new device; revoke the old one locally
Suspected key leakdelete data/pair.key in the connector directory and restart; a new key is generated, paired devices stay valid
Forgot pairing statereopen the dialog, or re-pair: revoke the old device first
Required mode blocks youcomplete pairing first; unpaired devices are rejected

6. FAQ

“Pairing key is wrong” — copy the full key without spaces, from this connector’s local page.

Code expired — start pairing again; the host shows a new code.

“Connector does not allow this account” — the account is not on the connector allow list; pairing is not the issue.

Browser warns about local network / insecure content — expected when an HTTPS page reaches an intranet HTTP connector; allow it. Keep the connector on the intranet and consider local HTTPS.

Paired but still unusable — refresh, or use the status page refresh; check the connector is online and the account has execute permission.

Key+code or code-only? — key+code adds a factor; code-only suits trusted intranets or headless devices but is weaker. Never expose the connector publicly.

7. Security notes