The chat widget
One script tag, and your agent is answering on your site. No build step, no framework, nothing to maintain.
The whole integration
<script
src="https://cdn.tigerbase.cloud/v2"
data-api-key="tb_your_key_here"
defer
></script>That is the entire integration. Everything else — the agent's name, its colours, its layout, the questions it offers, the line it opens with — comes from your dashboard and changes without touching this tag. The dashboard gives you this tag with your own key already in it, under Settings → API Credentials.
What happens when the page loads
Four round trips, and only the first two happen before anyone has typed. It is worth knowing the order, because almost every “it does not work” is one of these steps saying no.
| 1. The bundle | Served from the CDN, cached by the browser. The same file for every customer — nothing in it is yours. |
|---|---|
| 2. The settings | Fetched with your key. This is where your allowed domains are checked, so a refusal shows up here first, as a warning in the console. |
| 3. The launcher | Drawn inside a shadow root, in the layout and colours from step 2. |
| 4. The conversation | Each message goes to the API and the answer streams back. The key and the domain are checked again on every one. |
What it costs the page
| The bundle | About 23 KB gzipped. No framework, no dependencies. |
|---|---|
| The handoff transport | A further 12.6 KB, fetched only if a visitor asks for a person. Most never do, and most never download it. |
| Your page's CSS | Untouched. The widget renders inside a shadow root, so its styles cannot reach your page and your page's cannot reach it. |
| Your page's JavaScript | Untouched. It needs no framework on the page and brings none. |
TipIt used to be 84 KB
When the widget is the wrong answer
It is the right answer for most sites and it is worth saying plainly when it is not.
| The chat has to live inside your own layout | A sidebar in your product, a panel in your own design system, a support view that is not a chat bubble at all. Use @tigerbase/client — the same key, the same settings, your interface. |
|---|---|
| There is no browser | A nightly report, an export, a screen in your own admin. Use @tigerbase/server, which takes a secret key and runs on your backend. |
| Your staff should answer in your own helpdesk | The handoff API delivers conversations into the tool your team already uses, instead of our dashboard. |
NoteYou can run both
The rest of this section
Install
The tag in plain HTML, React, Next.js, Vue and WordPress — and which URL to point it at.
Appearance
Colour, shape, type, and how an answer is drawn while it streams.
Layouts
Bubble, side panel, bar, inline and full page — one setting apart.
Behaviour
The opening line, starter questions, handoff, ratings and clearing.
JavaScript API
init, render, destroy and getBrowserId — for pages that decide when.
Troubleshooting
Symptom, cause, fix — in the order people hit them.