Each bot needs its own API key for tracking.
Create a bot to get an API key.
npm install --save dashbot
Use the API key created above.
const dashbot = require('dashbot')(<strong>process.env.DASHBOT_API_KEY</strong>).google;
const DialogflowApp = require('actions-on-google').DialogflowApp;
app.post('/', (request, response) => {
const assistant = new DialogflowApp({request: request, response: response});
<strong>dashbot.configHandler(assistant);</strong>
...
}
Here are two samples with Dashbot integrated: