01. Initialization
Before deploying to a client site, you must generate a cryptographic Client ID. This binds the widget instance to your specific RAG context.
Required Credentials
demo-client-abc-12302. Universal Module Script
The most direct deployment method. Inject our ES module directly into your HTML document. It loads asynchronously, ensuring zero impact on your Core Web Vitals. Drop this just before the closing </body> tag.
index.htmlEmbed Snippet
<script type="module" src="https://widget.yeticodecrew.com/index.js?clientId=demo-client-abc-123&theme=light" async></script>Selected theme: light
03. Query Parameters
Configuration is handled strictly through URL query parameters appended to the script source. No complex global window objects required.
| Parameter | Type | Description |
|---|---|---|
| clientId | string | Required. Cryptographic identifier for the project instance. |
| theme | enum | Optional. Set to 'light' or 'dark' to force UI matching. Defaults to system preference. |
