Website Embedding
Drop an AI chat widget onto any website with a single code snippet. Publishable API keys and domain allowlists make embedding secure and effortless.
What is website embedding?
Website embedding lets you add an AI chat interface to any web page. Interlocute provides two embedding methods: a lightweight iframe snippet for zero-dependency integration, and a JavaScript widget for customizable floating chat. Both connect directly to your node's endpoint.
Secure by default
Embedded chat uses publishable API keys — keys that are safe to include in client-side code because they are scoped to specific domains and capabilities. You configure a domain allowlist so the key only works on your approved domains, preventing unauthorized use.
Two integration paths
The iframe embed is a single HTML tag that renders a chat interface inside your page. The JavaScript widget adds a floating chat bubble with customizable positioning and theming. Both methods support streaming responses and inherit all of your node's capabilities.
Production-ready
Embedded chat inherits all node features: memory, RAG, tool use, and guardrails. Usage is tracked per publishable key, so you can monitor and control embedded chat independently from API usage.
Frequently Asked Questions
Website Embedding
How do I embed an Interlocute chat on my website?
Is it safe to put an API key in client-side code?
What is a domain allowlist?
Can I customize the appearance of the chat widget?
Does embedded chat support memory and RAG?
How is embedded chat usage tracked?
Documentation
Related Features
Addressable Nodes
Every node is a stable, named endpoint with its own identity, API keys, and usage history. Address your AI like you address a web page.
Guardrails & Governance
Control what your AI can do with granular policies — token quotas, refusal semantics, access restrictions, and execution boundaries.
Agent Deployment
Deploy AI agents as stable, addressable endpoints in seconds. No infrastructure to manage, no containers to orchestrate.
Ready to build with Website Embedding?
Deploy your node in seconds and start using Website Embedding today.