Create a service account and private key for the Google Dialogflow project

To use Google Dialogflow with Virtual Agent Bot Interconnect, the second step is to create a service account and private key for the new agent in Google Dialogflow.

Before you begin

Role required: admin

Procedure

  1. On the project dashboard page, click Go to project settings.

    On the Google Cloud Home dashboard, Go to project settings displays on the Project info card.

  2. On the IAM & Admin page, click Service Accounts.
  3. Click + Create Service Account.

    When you select the Service Accounts option in the side menu, the Create Service Account option appears in the header bar.

  4. Provide a name, and then click Create and Continue.
  5. Under Select a role, select Dialogflow > Dialogflow API Client.
  6. Click Continue.

    Assign the Dialogflow API Client role on the service account details screen, then click Continue to go to the next step.

  7. Click Done.
  8. Click the link for the record in the Email column.

    The Service accounts screen displays the email, name, and description. Click the Email address displayed in the column to open the Details page for the service account.

    The Service account details page opens.

  9. Click the Keys tab.
  10. Click Add Key > Create new key.
    The Add Key option is on the Keys tab for the service account.
  11. When prompted for the key type, select JSON, and then click Create.
    The JSON file is downloaded to your computer.