Documentation

Get Praatbox live in three minutes.

Everything you need is one script tag. The rest is optional polish. Skim this page top-to-bottom for a complete tour.

1. Drop in the script

Paste this just before the closing </body> tag of your site, or in your CMS's "custom code" block. That's it.

<script
  src="https://praatbox.com/widget.js"
  data-partner="px_4f9c2a"
  data-color="#1b6e3b"
  data-locale="auto"
  async></script>

2. Configure with data attributes

3. Identify users (optional)

If you know who's logged in, tell Praatbox — replies get personalized and analytics get richer.

Praatbox.identify({
  id: "u_482",
  email: "anouk@glodinas.nl",
  plan: "professional"
});

4. Listen for events

The widget fires events for opens, messages, and handoffs. Wire them into your analytics.

Praatbox.on("handoff", (conv) => {
  analytics.track("chat_handoff", conv);
});

5. Style it

The widget renders in a shadow DOM — your site's CSS can't accidentally bleed in. Use the dashboard to change color, position, greeting, and avatar.

Frameworks

Drop-in guides for popular setups: