Script Tag

Script Tag installation

The Script Tag is the fastest browser-first path and sits second after the Server API in the integration priority.

Install

Add wavebird.js and at least one data-wavebird-slot element to the page. Use a publishable key and client_id from the dashboard.

Install wavebird.js

index.htmlhtml
1<script2  src="https://wavebird.ai/wavebird.js"3  data-client-id="wbproj_demo_8jK42"4  data-publishable-key="pk_test_wavebird_demo_publishable"5  data-job-type="chat">6</script>7 8<div9  data-wavebird-slot10  data-wavebird-formats="banner,native"11  data-wavebird-position="between">12</div>

Allowed origins

Every browser origin must be configured for the publishable key. Localhost, staging, and production are separate origins.

Debug mode

Append ?wavebird-debug=1 to the page URL to surface initialization, activation, consent, render, decision, and beacon diagnostics in the console.

Need rollout review?

Start with the Server API. Use contact only when you need rollout review, enterprise coordination, or non-standard integration help.