Developer Docs
Widget Integration Protocol
Configure your security parameters and deploy the LangGraph routing engine directly to your content pipeline.
1. Whitelist Your Domain
Our Upstash Redis rate-limiter will block unauthorized widget loads. You must explicitly authorize your publishing domain before embedding the script.
- Navigate to your Settings Dashboard.
- Enter your production URL (e.g.,
yourblog.com) without thehttps://. - Click Save Configuration.
2. Inject the Shadow DOM Script
Copy your unique Tenant ID from the dashboard and paste the following snippet just before the closing </body> tag of your website.
<script
src="https://commissionsync.com/widget.js"
data-tenant-id="YOUR_TENANT_ID"
defer>
</script>3. Initialize the Routing Engine
Once embedded, publish a test article containing product keywords. The script will asynchronously read the DOM, query the LangGraph vector database, and inject the highest-converting affiliate offer inside an isolated Shadow DOM container.
Ready for live traffic