Enable Conversational Agent in Dialpad with JSON Keys

Prev Next

To integrate Conversational Agent CX with Dialpad, you'll need to generate a JSON key from your Google Cloud Console. This key authenticates your connection with Conversational Agent CX and enables it to work with Dialpad.

Let’s dive into the details.

Before you begin

Make sure that:

  • You have a Google Cloud Project created. Visit: https://console.cloud.google.com/

  • Your Conversational Agent is set up and linked to that project.

  • You have Owner or Editor permissions on the Google Cloud project.

Create a JSON Key to Enable Conversational Agent in Dialpad

To enable Conversational Agent, you’ll need to generate a JSON key.

Note

In some areas, you may see the name Dialogflow. This name refers to the previous naming of the product by Google. While the product is called Conversational Agent, there are some internal names within the product that still use the Dialogflow name.

Select Your Project

  1. Check the Project Dropdown at the top of the console

  2. Select your existing project associated with your Conversational Agent

    Google Settings screen showing options to select a project for the Conversational Agent.

Enable the Dialogflow API (if not already enabled)

  1. From the left-side menu, go to APIs & Services > Library

  2. In the search bar, enter: Dialogflow API and select the Dialogflow API result

  3. Select Enable if it is not already enabled

    Google Settings page showing the available API for Conversational Agent (also shown as Dialogflow) and the option to enable it.

Create a service account

  1. From the left-side menu, go to IAM & Admin > Service Accounts

  2. Select + CREATE SERVICE ACCOUNT

  3. Name your service account (e.g., “Conversational Agent Service Account”) and select Create and Continue

    Google Settings page showing the Service Accounts tab open, with the option to create a new service account for a project.

Grant service account access

  1. Under Grant this service account access, add the role for Dialogflow API Admin

  2. Select Continue > Done

    Page to enter service account details for the project. In this example, you are adding the Conversational Agent (Dialogflow) API option.

Generate the JSON key

  1. On the Service Accounts page, locate the service account you just created

  2. Select the service account’s email

  3. Go to the Keys tab and select Add Key > Create new key

    The Google Settings page shows the option to generate a JSON key to enable the Conversational Agent (Dialogflow) API in your project.

  4. Select JSON > Create

    Note

    Store this file securely. It allows full access to your Conversational Agent.

Use the JSON key in Dialpad

  1. In Dialpad, go to Company Settings > Integrations

  2. Locate Google Conversational Agent in the list and select Options > Manage Settings

  3. In the Enablement section, select Enable this Feature

  4. In the Google CES Conversational Agent JSON Key field, paste your JSON key

  5. Select Save Changes

    Dialpad Admin Settings page, showing the Integrations section. The option to add a JSON key for the Google Conversation Agent API is shown.

You have now successfully obtained and used a JSON key from Google Cloud Console to enable Conversational Agent in Dialpad.