# Google Dialogflow CX

### Integrate Google Dialogflow CX

{% hint style="info" %}
Need a Google service account to authenticate your Google Cloud service? Check our [walkthrough here](/platform/nlx-platform-guide/integrations/types/managed-integrations/google-services.md#setting-up-a-google-service-account).
{% endhint %}

1. Select *Resources* from your workspace menu and choose *Integrations* card
2. Click *+ Add integration* > Choose Dialogflow CX from the *Type* dropdown
3. Provide your integration a name
4. From your Google Cloud (GCP) Console, obtain your private key JSON file from your Google service account. Instructions here: <https://cloud.google.com/iam/docs/service-account-overview>
5. From the GCP Console API Library, select Dialogflow API > Click *Enable*

<figure><img src="/files/ztJpSpIyHSet9TDnmTHe" alt=""><figcaption></figcaption></figure>

6. In your GCP Console, assign the following three roles under the IAM page > Click Save
   * Dialogflow API Admin
   * Dialogflow API Client
   * Dialogflow Conversation Manager
7. Once you have obtained your private key JSON file, upload it to the *Instructions* section in NLX > Select *Create integration*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nlx.ai/platform/nlx-platform-guide/integrations/types/nlp-engines/dialogflow-cx.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
