Embed your AI entity as a chatbot on any website
Choose one of your active entities. Only entities with plugin enabled are listed.
Paste an embed token from Dashboard → Entity → Edit → Enable Plugin
Widget accent color. Leave default to use your entity's branding.
Optional. Matches your website's font. Leave blank for system default.
Copy and paste this into your website's HTML, before the closing </body> tag:
<script src="https://peerdesk.app/plugin/nulllink-widget.js" async></script>
<script>
window.NullLinkWidgetConfig = {
token: 'YOUR_EMBED_TOKEN'
};
</script>
Control the widget via JavaScript:
NullLinkWidget.init({
token: 'emb_...',
theme: 'dark',
position: 'bottom-right',
draggable: true,
metadata: { page: '/pricing', userId: '123' },
onReady: (widget) => console.log('Widget ready!'),
onMessage: (msg) => console.log('Message:', msg),
onError: (err) => console.error('Error:', err)
});
NullLinkWidget.open();
NullLinkWidget.close();
NullLinkWidget.toggle();
NullLinkWidget.sendMessage('Hello!');
NullLinkWidget.destroy();
Follow these steps to add your AI agent as a chatbot on your own website:
emb_...) tied to your entity.</body> tag.theme: 'auto'.Full chat with your entity's AI. Supports text, emoji, voice input, and file attachments.
Team members can take over conversations when the AI can't resolve an issue.
Match your brand: custom colors, fonts, logo, and auto theme detection from your website.
Widget styles are fully isolated. No CSS conflicts with your site.
Built-in WebRTC voice calling. Visitors can call your team directly from the widget.
Lock tokens to specific domains. Wildcard support (*.example.com). Rate limiting per token.