Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create a service account and private key in Google Dialogflow ES

To use Google Dialogflow as your NLU provider for Virtual Agent, create a service account and private key for your agent in Google Dialogflow.

Before you begin

Create an agent in Google Dialogflow.

Role required: admin

Procedure

  1. Log in to your Google Dialogflow account.

  2. Select the agent settings icon, and then select the project ID on the General tab.

Image omitted: ggl-dialogflow-projectid.png
Select settings, and then find the Google Project ID on the General tab.
  1. On the Google Cloud dashboard, select Go to project settings.
Image omitted: ggl-dialogflow-go-project-settings.png
On the Google Cloud Home dashboard, Go to project settings displays on the Project info card.
  1. On the IAM & Admin page, select Service Accounts.

  2. Select + Create Service Account.

Image omitted: ggl-dialogflow-create-srvc-account.png
When you select the Service Accounts option in the side menu, the Create Service Account option appears in the header bar.
  1. Provide a name, and then select Create and Continue.

  2. Under the Grant this service account access to project section, select Owner as the role.

Image omitted: ggl-srvc-acct-owner-role.png
Select Owner from the Role list.
  1. Select Continue.

  2. Select Done.

  3. In the Email column, select the link for the record.

Image omitted: ggl-dialogflow-srvc-account-record.png
The Service accounts screen displays the email, name, and description. Select the Email address displayed in the column to open the Details page for the service account.
The Service account details page opens.
  1. Copy the Email and the Unique ID and save them for a later step.
Image omitted: ggl-srvacct-email-id.png
The email address and unique ID are displayed on the Details tab for the service account.
  1. On the Service account details page, select the Keys tab.

  2. Select Add Key > Create new key.

Image omitted: ggl-dialogflow-create-new-key.png
The Add Key option is on the Keys tab for the service account.
  1. When prompted for the key type, select P12, and then select Create.

    The P12 file is downloaded to your computer.

  2. Make note of the private key password (notasecret).

    You will need this password in a later step.

Image omitted: ggl-p12-key-downloaded.png
The private key password is shown onscreen when you download the P12 file.

Parent Topic:Configure Google Dialogflow ES as the NLU provider for Virtual Agent

Previous topic:Configure Google Dialogflow ES as the NLU provider for Virtual Agent

Next topic:Generate a Java Keystore (JKS) file and configure security on your ServiceNow instance