Installation & Configuration
Prerequisites
- API Key: You need a valid API key from the Sivi team.
- JavaScript: Your client web application must support JavaScript.
- HTTPS: Your client web application must be served over HTTPS.
- DOM Container: Your client web application must have a DOM container element with an ID attribute. Container should have a minimum of 360px width and 500px height. Widget automatically support mobile and web experience.
- Direct script: Your client web application must embed the Sivi SDK script tag in the HTML is highly recommended than Google Tag Manager like installations as it has UI elements and experience.
2. Embed the Sivi's UI SDK Script
General
Add the following script tag to your application’s HTML, preferably in the <head>
section :
<script src="https://sdk.sivicloud.com/script.js?namespace=SIVI&apiKeyId={apiKey}"></script>
Replace {apiKey}
with the API Key provided by the Sivi team.
Enterprise
Add the following script tag to your application’s HTML, preferably in the <head>
section:
<script src="https://[enterprise].sivicloud.com/script.js?namespace=SIVI&apiKeyId={apiKey}"></script>
Replace [enterprise]
with your enterprise-specific domain.