Skip to main content
Vanilla JS is the simplest integration path. If you can add a <script> tag, you can embed EPIS.

Full working example

Chaining

All SDK methods return this, so you can chain:

Unmounting

Remove a specific mount (destroys the iframe and cleans up listeners):
Remove all mounts and reset the SDK to its uninitialized state:

Listening for auth events

React to the auth lifecycle in your own UI:
Register event listeners before or after mountChat() — order doesn’t matter. The SDK buffers events that fire before a listener is registered.

Script loading patterns