<head>
element.
<script>
element that asynchronously downloads the https://sdk.asapp.com/chat-sdk.js
JavaScript.ASAPP
function that enables you to interact with ASAPP’s JavaScript API.ASAPP('load')
method as seen below:
APIHostname
and AppId
values will be provided to you by ASAPP after coordination between your organization and your ASAPP Implementation Manager. Once these values have been determined and provided, you can make the following updates:
API_HOSTNAME
with the hostname of your ASAPP API location. This string will look something like
APP_ID
with your Company Marker identifier. This string will look something like 'examplecompany'
.
ASAPP('load')
will make a network request to your APIHostname and determine whether or not it should display the Chat SDK Badge. The Badge will display based on your company’s business hours, your trigger settings, and whether or not you have enabled the SDK in your Admin control panel.
For more advanced ways to display the ASAPP Chat SDK, see the JavaScript API Documentation.