Jovo Integration

If you’re using Jovo, follow the steps below to integrate Dashbot.

Create an API key on Dashbot

Each chatbot or voice skill needs its own API key for tracking.

Create a bot to get an API key.

Remember to select the appropriate platform: Alexa for Alexa Skills or Google for Google Actions. If you are building for both, create two API Keys.

Enable Dashbot in Jovo

To enable Dashbot in Jovo:

  • Download & install the NPM
  • Enable the plugin in app.js
  • Add the API Keys to config.js

Download and Install NPM

npm install --save jovo-analytics-dashbot

Enable the plugin in app.js

Javascript example

// src/app.js

const { DashbotAlexa, DashbotGoogleAssistant } = require('jovo-analytics-dashbot');

app.use(
    new DashbotAlexa(),
    new DashbotGoogleAssistant()
);

TypeScript example

// src/app.ts

import { DashbotAlexa, DashbotGoogleAssistant } from 'jovo-analytics-dashbot';

app.use(
    new DashbotAlexa(),
    new DashbotGoogleAssistant()
);

Add API Key to Config.js

Javascript example

// src/config.js

module.exports = {

    analytics: {
        DashbotAlexa: {
            key: 'DASHBOT_API_KEY_ALEXA',
        },
        DashbotGoogleAssistant: {
            key: 'DASHBOT_API_KEY_GOOGLE',
        },
    },

    // ...

};

Typescript example

// src/config.ts

const config = {

    analytics: {
        DashbotAlexa: {
            key: 'DASHBOT_API_KEY_ALEXA',
        },
        DashbotGoogleAssistant: {
            key: 'DASHBOT_API_KEY_GOOGLE',
        },
    },

    // ...

};

Test

After completing the integration, test the voice app and look at the realtime section of Dashbot reports to see the data appear.

Close Menu