To embed your widget in the host application, copy the code from the iframe element and paste it into a new or existing HTML page that will host the widget. The following example shows an iframe element for an Agent Application widget pasted inside the <body> tag of the host page:

<iframe id=“frame" height=400 width=300 style=“border:none"

To enable communication between the widget and the hosting page, the postmessage.js file needs to be included in the head section of the hosting page. The following example shows how this file can be taken from the Jacada Interaction Server and placed inside the <head>tag:

<script src=“"></script>