Create your agent
Sign up at console.eka.care, create an agent, and customize it — theme, title, initial message, and allowed inputs are all stored with the agent.
New to the console? Follow the detailed setup guide to create your account and get set up step by step.
Add the embed snippet
Paste the custom element where you want it and the script tag just before
</body>:Only
agent-id is required. Everything else — theme, title, initial message — comes from the agent config you set in the console, so you usually don’t need any other attributes.Full page example
Install from npm
If you bundle your own assets, install the package instead of using the CDN:Use it in a framework
The custom element works anywhere HTML does. Inject the loader script and render the tag:How it works
Next steps
Customization & overrides
Every attribute you can set — theme, display mode, launcher styling, and more.
JavaScript API
Configure the widget programmatically with
EkaMedAssist.init().Troubleshooting
Widget not appearing
Widget not appearing
Confirm
agent-id is set, check the Network tab to verify the loader script loaded, and look in the console for errors.Assets return 404
Assets return 404
If you self-host assets via
data-widget-assets, ensure medassist-widget.js and medassist-widget.css are served at that path — or omit it to use the default CDN.
