diff --git a/src/pages/docs/ai-transport/getting-started/authentication.mdx b/src/pages/docs/ai-transport/getting-started/authentication.mdx index cbe191dd03..97d80c756f 100644 --- a/src/pages/docs/ai-transport/getting-started/authentication.mdx +++ b/src/pages/docs/ai-transport/getting-started/authentication.mdx @@ -5,7 +5,11 @@ meta_keywords: "AI Transport, authentication setup, Ably JWT, authCallback, toke intro: "AI Transport authenticates through your existing auth: your server validates the user and signs an Ably token, and the browser's Ably client fetches it through `authCallback`and refreshes it before expiry." --- + + +AI Transport reuses the authentication you already have. Your server validates the user and signs a short-lived Ably JWT, scoped to the channels that user can reach. The browser's Ably client fetches that token through an `authCallback` and refreshes it before it expires, so the connection stays authenticated for the whole conversation. The steps below wire up the server endpoint, the client, and the separate POST that wakes the agent.