voxa-chatbase
v1.1.0
Published
Integrate Chatbase analytics into your voice apps using the voxa framework
Downloads
128
Readme
Voxa Chatbase for Alexa Skills and Google Actions
A Chatbase plugin for building Alexa Skills and Google Actions with voxa
Installation
Just install from npm
npm install --save voxa-chatbase
Usage
const { VoxaApp } = require('voxa');
const voxaChatbase = require('voxa-chatbase').register;
const voxaApp = new VoxaApp(voxaOptions);
const chatbaseConfig = {
platform: '<"Facebook"|"SMS"|"Web"|"Android"|"iOS"|"Actions"|"Alexa"|"Cortana"|"Kik"|"Skype"|"Twitter"|"Viber"|"Telegram"|"Slack"|"WhatsApp"|"WeChat"|"Line"|"Kakao">' \\ or a custom name like "Workplace" or "OurPlatform"
apiKey: '<chatbase apiKey>',
ignoreUsers: [], // a list of users to ignore.
platform: 'alexa', // optional, if not present, it will take the default name from the platform used in Voxa
suppressSending: false, // A flag to supress sending hits.
};
voxaChatbase(voxaApp, chatbaseConfig);