Internal install & test page. The live widget is loaded at the bottom of this page exactly the way it will be on jobaaj.com — click the gold bubble in the corner to try it.
Paste this once, just before </body>, on any site that should have the assistant:
<script src="https://chat.jobaaj.com/widget.js" defer></script>
Nothing else is required. The widget renders inside a Shadow DOM, so it cannot collide with your
site's CSS, and it figures out the API URL from its own src.
All optional, set as attributes on the same script tag:
| Attribute | Default | What it does |
|---|---|---|
data-api | script's origin | Point the widget at a different backend (e.g. a staging server). |
data-position | right | Set to left to dock in the bottom-left corner. |
data-greeting | standard | Override the opening line per site. |
data-fonts | on | Set to off to skip loading Google Fonts on the host page. |
<button onclick="Jobby.open()">Chat with us</button>
Jobby.open(), Jobby.close() and Jobby.reset() are available once the script has loaded.
The embedding site's origin must be listed in ALLOWED_ORIGINS on the backend,
or the browser will block every request with a CORS error. Check the browser console
on the host page if the widget loads but no messages go through.