Script Tag

Script Tag is the fastest browser-first path. It turns the public API into a low-friction integration surface without changing the underlying contract: activation, jobs, decisions, consent, config, and beacons still run through the same API model.

script-tag.html

html

BROWSER PATH
<script
  src="https://wavebird.ai/wavebird.js"
  data-client-id="wbproj_your_client_id"
  data-publishable-key="pk_publishable_your_key"
  data-job-type="chat"
  data-native-template="default">
</script>

<div
  data-wavebird-slot
  data-wavebird-position="between"
  data-wavebird-formats="banner,native">
</div>

Runtime

What Script Tag does for you

Activation

Exchanges the publishable key for an origin-bound browser token before protected runtime calls.

Config loading

Loads non-secret project config through client_id so the browser can render the right format and disclosure defaults.

Consent

Can collect consent through the built-in flow before retrying the decision path.

Beacons

Wires rendered and completion beacons automatically so the browser path stays production-usable without custom analytics glue.

Need rollout review?

Contact the team

Start in the dashboard, choose Script Tag or Server API, and use contact only when you need rollout review, enterprise coordination, or non-standard integration help. Billing beacon rules live in the API concepts guide.