Chat widget
Paste one tag before </body> on your site:
<script src="https://<name>-mcp.deemwar.com/widget.js" async></script>Allowed origins
Section titled “Allowed origins”List your sites (one per line, like https://app.acme.com). Only those sites can use the widget’s chat and sign-in.
Sign-in
Section titled “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();AI model
Section titled “AI model”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.
Branding
Section titled “Branding”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.