From Bright Pattern Documentation
<translate>
General Information
The syntax for all the methods and events in this specification includes the object window.bpspat.api. This object is created when the script file is included in an external webpage as shown:
<script type="text/javascript" src="https://YOUR_AGENT_DESKTOP_WEB_SERVER/agentdesktop/app/lib/servicepattern-sdk-v1.js"></script>
Note that in the script source, you replace YOUR_AGENT_DESKTOP_WEB_SERVER with your actual web server.
</translate>