\(Legacy\) Create a service account and private key in Google Dialogflow ES

task brazil Updated Sep 10, 2026 1 min read vad-create-srvc-acct-key-dialogflow.md
Raw file servicenow.com

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.

    [Omitted image "ggl-dialogflow-projectid.png"] Alt text: Select settings, and then find the Google Project ID on the General tab.

  3. On the Google Cloud dashboard, select Go to project settings.

    [Omitted image "ggl-dialogflow-go-project-settings.png"] Alt text: On the Google Cloud Home dashboard, Go to project settings displays on the Project info card.

  4. On the IAM & Admin page, select Service Accounts.

  5. Select + Create Service Account.

    [Omitted image "ggl-dialogflow-create-srvc-account.png"] Alt text: When you select the Service Accounts option in the side menu, the Create Service Account option appears in the header bar.

  6. Provide a name, and then select Create and Continue.

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

    [Omitted image "ggl-srvc-acct-owner-role.png"] Alt text: Select Owner from the Role list.

  8. Select Continue.

  9. Select Done.

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

    [Omitted image "ggl-dialogflow-srvc-account-record.png"] Alt text: 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.

  11. Copy the Email and the Unique ID and save them for a later step.

    [Omitted image "ggl-srvacct-email-id.png"] Alt text: The email address and unique ID are displayed on the Details tab for the service account.

  12. On the Service account details page, select the Keys tab.

  13. Select Add Key > Create new key.

    [Omitted image "ggl-dialogflow-create-new-key.png"] Alt text: The Add Key option is on the Keys tab for the service account.

  14. When prompted for the key type, select P12, and then select Create.

    The P12 file is downloaded to your computer.

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

    You will need this password in a later step.

    [Omitted image "ggl-p12-key-downloaded.png"] Alt text: The private key password is shown onscreen when you download the P12 file.

Keywords Service accountprivate keyGoogle Dialogflow ESNLUVirtual Agent
Search documentation
Search document titles and file paths on the brazil branch