Tell the chat who's signed in. Your server signs a short token, and your team sees the user's email, their ID in your app and anything else you send, like their plan. Send a web address and it shows as a link, so one click opens the user in your admin. And you can open the chat from your own Help menu instead of a floating button. Dinghy Cloud costs $9 a month for up to 5 people.
Know who is asking
With no setup, a visitor is anonymous, and their chat lives in that browser. Inside your app, tell Dinghy who the user is.
- Copy the signing secret from Identify signed-in users (optional) in Settings > Install, and keep it on your server.
- Add a route that signs a token for the current user, with their ID, their email and any attributes your team should see, like their plan.
- On the page, call
Dinghy.identify()with a function that fetches that token. The widget calls it again when the token expires. - Call
Dinghy.reset()when the user signs out.
Now the chat follows the user to every device they sign in on. A name claim becomes the conversation's title in the inbox, so you see a name like "Ana at Acme" in the inbox. The Next.js guide has a full route handler and client component, and Show who is chatting lists every field the token takes. Any JWT library works, in any language.
Open it from your Help menu
Hide it with data-launcher="hidden" on the tag, and open the chat from your own menu:
<script>
// Show unread replies on your own menu item.
window.Dinghy = { q: [["on", "unread", (count) => {
document.querySelector("#help-badge").textContent = count || "";
}]] };
</script>
<script src="https://chat.example.com/widget/loader.js" data-key="wk_your_public_key" data-launcher="hidden" async></script>
document.querySelector("#help-chat").addEventListener("click", () => {
if (window.Dinghy?.open) Dinghy.open();
else (window.Dinghy ??= { q: [] }).q?.push(["open"]);
});
The script loads with async, so Dinghy may not exist yet when your page code runs. That's why the unread listener goes in a queue before the tag. And a click that comes before the script puts open in the same queue. Control it from your page has the other calls and events. Dinghy.setContext() passes page facts, like the screen the user is on. Set your brand colors and a light, dark or automatic theme in Settings > Appearance. In a React or Next.js app, the npm package @dinghy-chat/widget adds the tag for you, with types.
Send help at the right time
Offer setup help when a customer is still missing a verified domain an hour after signup. Your app sends the setup state as a contact attribute and Dinghy checks it again before it sends the campaign. Or show a short offer to help after someone spends 20 seconds on your pricing page. See proactive live chat for that setup.
It stays out of your bundle
The tag loads a script under 4 KB. Signed-in users get the full chat as soon as your page calls identify, even if they never open it. That's under 27 KB gzipped. It renders in its own Shadow DOM, so your CSS can't break it and its CSS can't touch your app. If you run a Content Security Policy, allow your Dinghy address in script-src, connect-src and img-src. No unsafe-inline needed.
The price doesn't grow with the team
Dinghy Cloud is $9 a month per workspace, flat, for up to 5 people and 1 GB of files. Add a second founder, then a support hire, then an engineer on rotation. Still $9. There are no billing quotas for chats, contacts or visitors. What other chat tools cost at 1, 3 and 5 people.
When Dinghy isn't the right fit
- More than 5 people answer chats. Dinghy Cloud stops at 5. Self-hosting has no limit, but then you run the server.
- You want a product tour builder, a standalone email marketing tool or a built-in help center. Intercom has a wider set of tools. See Dinghy vs Intercom.
- You want a hosted AI agent that answers first with no setup, trained on your help center. Dinghy has no AI of its own. Your own agent can answer through MCP or the API, and by default a person approves its drafts. See Live chat for AI agents and why we work this way.
- You need a native mobile SDK. There isn't one. The widget is for websites and web apps.
Get started
Start on Dinghy Cloud for $9 a month, or host it yourself for free. Then follow the Next.js guide or Add the chat to your site.