amazon connect demo with callstats.js integration.
- Clone the repo
- Run "npm install"
- Run "node index.js"
- Obtain the appID and appSecret from the callstats.io after creating an account (https://dashboard.callstats.io/register)
- Enter the appID and appSecret in app/config.js
- Copy paste your Amazon Connect ccpURL in app/config.js
app/config.js file contents
'use strict';
const config = { appId: 1234567, appSecret: "", ccpUrl: "", mongoUrl: "", mongoDatabase: "", mongoCollection: "", collectEventBusData: false };
exports.config = config;
collectEventBusData must be true for collecting the event bus logs and storing it in the mongo.