Skip to content

Chat widget

Paste one tag before </body> on your site:

<script src="https://<name>-mcp.deemwar.com/widget.js" async></script>

List your sites (one per line, like https://app.acme.com). Only those sites can use the widget’s chat and sign-in.

The login button works with no code. To sign users in automatically, expose their JWT and refresh after your own login:

window.getToken = async () => myApp.auth.token(); // JWT or null
// after your own login:
window.ApiAgent?.refresh();

The widget’s agent runs on your own key (OpenRouter, or any OpenAI-compatible API) and the model you choose, or on our key paid with points. Keys are encrypted at rest and only their last 4 characters are shown.

Set the name, logo, colours, corner radius and theme of the sign-in page and widget. Colours are adjusted if needed to keep text readable.