Using the JavaScript API
Note
When using the JavaScript API, certain requirements must be met. These include ensuring that the top-level domain and scheme (HTTPS) of the embedding site match those of the embedded web client and the SameSite attribute must be adjusted. See the JavaScript API documentation and Setting the SameSite Attribute for more information.
Using JavaScript in a browser, you can embed the web client in a web page. Your end users, by accessing a common web page, can interact with the web client and connect to the host application, providing the ability to:
- Programatically interact with host sessions.
- Run it “headlessly,” meaning you can access all its functionality without having a visible interface embedded in the web page.
The API documentation, including tutorials and the JavaScript library, is available in a ZIP file (hacloud-extras-<version>.zip
) from the same download location as the Host Access for the Cloud product files. They are also always available online: HACloud JavaScript API.