The Cerebral OS widget lets you embed a fully governed AI assistant anywhere — your website, your app, your customer portal — with one script tag and two lines of config.
Getting Started
Add the following to your HTML:
<script>
window.CerebralConfig = {
widgetId: 'your-cerebral-id',
apiBase: 'https://app.cerebralos.com'
};
</script>
<script src="https://app.cerebralos.com/widget.js" async></script>
That's it. The widget initializes automatically, connects to your Cerebral, and inherits all governance settings you've configured in the platform.
What the Widget Inherits
Every widget deployment carries the full Cerebral OS governance layer:
- Memory — The Cerebral knows your customers, products, and history
- Governance — Approval gates and policy rules apply to every interaction
- Audit trail — Every conversation is logged and replayable
- Integrations — All configured verbs are available to the embedded Cerebral
Customization
You can customize the widget's appearance, trigger behavior, and initial message through additional config options. Full documentation is available at developers.cerebralos.com/docs.