Skip to main content

Overview

Chat embedding lets selected websites show an agent chat from your workspace on their own pages. Members still sign in, and the chat stays limited to that agent. Use it when an intranet or internal portal should offer an agent without a separate interface. No website can embed a chat until a workspace admin adds it.

Allow a website

  1. Open Security Settings in your workspace.
  2. Scroll to Chat embedding.
  3. Click Add website.
  4. Enter the Website address as an HTTPS address, such as https://intranet.example.com.
  5. Click Add website.
Langdock saves only the HTTPS origin, without any path or query parameters. Wildcards are not supported, so add each subdomain separately. You can allow up to 50 websites.
Every page on an allowed address can embed a chat, including other tenants on a shared host. Allow only sites your organization controls.
Open the agent, click its name, and select Copy link. On Cloud, the link has the form https://app.langdock.com/chat?a=<agent id>. On a dedicated deployment, it uses that deployment’s address. Embed the copied link in an <iframe>:
Do not add extra query parameters such as a prompt, model, or files, or the embedded chat will not load. Members still need access to the agent. Someone who is already signed in to a different workspace in the same browser cannot load the embedded chat.

How members sign in

Embedded chats use a separate member session and do not inherit workspace admin or editor roles.
  1. In the embedded chat, click Sign in.
  2. A new tab opens. Sign in there and copy the Sign-in code.
  3. Paste the code into the embedded chat.
Do not share the sign-in code. Anyone with it can sign in as you. If you see This chat isn’t available, click Switch workspace to select the workspace that owns the agent, or ask the person who shared it for access.

What the embedded chat includes

In the embedded chat, you can send text and open your own conversations with that agent. It does not offer file uploads, the Tools menu, plugins, voice dictation, voice mode, mentions, the Document Editor, or account settings. Links to other agents or the rest of Langdock open in a new tab outside the embedded chat.

Remove a website

Click the remove icon beside the address, then confirm Remove website. That site can no longer load chats from this workspace. Members are signed out of embedded chats on every allowed website, while messages already on screen stay visible. Sessions in the Langdock app, the desktop app, and the Office add-ins stay signed in. Log all users out also ends embedded chats for other members. See Session Management.