@glass.props/sentient
v0.0.9
Published
Widget for interacting with the Glass product intelligence platform.
Readme
Sentient by Glass
Widget for interacting with the Glass product intelligence platform.
Usage
Install using npm
Install sentient package by running the command.
$ npm i @glass.props/sentientImport and setup the sentient widget.
import Sentient from '@glass.props/sentient';
Sentient.init({
apiKey: <apiKey>,
});Install as script
Add sentient package script in your html body. Load the sdk and provide the api key generated.
<script
defer
src="https://unpkg.com/@glass.props/sentient/dist/sentient.umd.min.js"
></script>
<script>
window.sentientOnLoad = function () {
Sentient.init({
apiKey: <apiKey>,
});
};
</script>