npm i wingbot-bigquery
const { BotApp } = require('wingbot');
const { BigQueryStorage } = require('wingbot-bigquery');
const analyticsStorage = new BigQueryStorage(credentials, projectId, datasetName);
const bot = new BotApp(/** bot app config here */);
bot.registerAnalyticsStorage(analyticsStorage);
Add credentials.json to ./test
folder
npm run test