Runtime tools : Client engine : Using the client engine : Loading the client engine in an HTML page
  
Loading the client engine in an HTML page
You can load the UNICOM® Digital Transformation Toolkit (UDTT™) client engine in either AMD style or synchronous style.
Loading the client engine in AMD style
In AMD style, the client engine uses the require.js file.
<script type="text/javascript" src="js/lib/require.js"></script>
<script type="text/javascript">
requirejs.config({
"baseUrl": "js",
"paths": {
"jquery": "lib/jquery-3.1.1"
}
});

// Load BTT Client Engine in AMD style
define([ "jquery", "unicomsi/btt/clientengine/BTT" ], function($, BTT) {
$(function() {
// use BTT Client Engine
BTT.establishSession(function(){
alert("establishSession");
});

...
});
});

</script>
Loading the client engine in synchronous style
<script type="text/javascript" src="js/lib/jquery-3.1.1.js"></script>
<script type="text/javascript" src="js/unicomsi/btt/clientengine/BTTLoader.js">
</script>

<script type="text/javascript" src="js/unicomsi/btt-clientengine.js"></script>

<script type="text/javascript">
BTT.loadBTT("js");

// use BTT Client Engine
BTT.establishSession(function(){
alert("establishSession");
});
</script>
Go up to
Using the client engine