System Documentation

Deployment
Architecture.

Technical reference for injecting Yeti's headless automation layer into your client environments. Zero dependencies. Zero build-step overhead.

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-123

02. 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.html
<scripttype="module"src="https://ai-widget-yt.vercel.app/index.js?clientId=demo-client-abc-123&theme=light"async></script>

03. WordPress Integration

For legacy CMS client sites. We provide a zero-bloat, vanilla JS injection plugin that handles the script placement and parameter passing automatically.

01

Install Package

Download the validated .zip from your deployment dashboard.

02

Inject ID

Navigate to Settings > Yeti and paste your Client ID.

04. Query Parameters

Configuration is handled strictly through URL query parameters appended to the script source. No complex global window objects required.

ParameterTypeDescription
clientIdstringRequired. Cryptographic identifier for the project instance.
themeenumOptional. Set to 'light' or 'dark' to force UI matching. Defaults to system preference.