This configuration allows you to initialize the Spellz webchat.
If you want to configure your webchat in a logged environnement (i.e: with a defined user id as an email address), it's necessary to use an userToken parameter to identify the user.
The first time you push a userId, this token will be saved on Spellz side, and used to identify further swaps for this userId.
We advise you to use a private key on your side to encrypt userId, and use this hash as token.
window.clustaarSettings = {
bot_id: 'BOT_ID',
bot_token: 'BOT_TOKEN',
userID: '[email protected]', //Optional
user_token: 'USER_SECRET_TOKEN' //Optional
};