Once your web application successfully imports the JavaScript Guest Library, the first thing you need to do is initialize your connection with the host Encompass application.



Connect() call

While we render an <iFrame> element to embed your applications user-interface, and navigate to your application - we show a loading state spinner to the user, calling the elli.script.connect() function will also hide our spinner and prepare the UI for user interactions.


Container iFrame height

Encompass applications set the max height of the container iFrame to 600 pixels. Make sure to adjust your embedded applications dimensions accordingly to prevent horizontal scrolling.