@mono.co/connect.js. It is not Mono’s official documentation.
Verification record
The guide was checked against the public Connect.js implementation, its README, and Mono’s official API documentation.
Precedence
Use this order when sources disagree:- Mono’s current official documentation for production behavior and API policy.
- The current Connect.js source for SDK signatures and browser behavior.
- This guide for explanation and implementation examples.
Documentation conventions
PUBLIC_KEYmeans a Mono public key that may be used in browser code.MONO_SECRET_KEYmeans a secret that must remain on your backend.codemeans the short-lived value returned toonSuccessafter account linking.accountIdmeans the Mono account identifier returned after the backend exchanges that code.- Examples use
scope: "auth"explicitly for account linking. - Reauthorization examples pass an
accountIdtoreauthorise(). They do not pass a reauth token.
Machine-readable access
Agents can discover the page index at/llms.txt, load the complete documentation from /llms-full.txt, and read the integration capability contract at /skill.md. Individual Mintlify pages are also available as Markdown by adding .md to the page URL.