Skip to content
Docs

Website chatFor admins

Connect your own systems

Let the bot look up a signed-in visitor's own data in your systems, with that visitor's own token.

A bot can look things up in your own systems for a signed-in visitor, such as their orders or their account. It does so with that visitor's own token, so your system answers exactly what that user may see, and you do not change your API.

What your system needs#

  • It accepts your signed-in user's token. The same token your own website or app already sends, as Authorization: Bearer, and it answers only that user's data.
  • It describes its tools. An OpenAPI document or a remote MCP server, readable without signing in. Each operation becomes one tool: give it an operationId and a clear description, since the bot reads them. GET operations read; every other method changes something.

Connect it#

  1. In the console, open PlatformsPlatforms and connect a system of your own: a short name such as shop, its address, and a few lines on what it is for.
  2. Under Advanced, choose the visitor's own token as the way it signs in. The tools are read from its description and checked; the platform's page lists any that are held back and why.
  3. Open the bot under Customer serviceCustomer service and, on its Access tab, give it a tier on the platform and set each tool it may use to Allow, or to Ask, where the visitor confirms on a card in the chat before it runs. A tool left unset is not the bot's.

Hand over the visitor's token#

Your page gives the chat window the visitor's token for each system, named by the platform's short name. It works for signed-in visitors only, so sign them in first. Give a function, and the window asks for a fresh token before each message:

TigerlessChat("tokens", async () => ({ shop: await currentAccessToken() }));

A fixed value works too: TigerlessChat("tokens", { shop: token }). Renewing the token stays with your website, as it does for your own pages.

The token is held only while a message is answered. It is not stored, not written to logs and never shown to the AI, and it is sent only to the address of the platform it is named for.

When your system takes one company key#

If your API only takes a key for your whole company, define Company actionsCompany actions instead: each action is one request to one host, and the signed-in visitor's id is filled into it by us, never by the AI. The key is stored encrypted and sent only to that host.