This page provides reference documentation and related resources for the
Dialogflow CX Node.js client library.

| Resource | Description |
|---|---|
| [Library reference](https://googleapis.dev/nodejs/dialogflow/latest/index.html) | Dialogflow CX Node.js library reference |
| [Language guide](https://cloud.google.com/nodejs/docs/) | General guide for using Node.js with GCP |
| [GitHub repository](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow) | Source code and additional documentation for this library |
| [Quickstart](https://docs.cloud.google.com/dialogflow/docs/quick/api) | Introduction to using this library |
| [Stack Overflow](http://stackoverflow.com/search?q=%5Bdialogflow%5D+%5Bnode.js%5D) | Questions tagged with Dialogflow CX and Node.js |

### Installation


To install the client library:

```
npm install @google-cloud/dialogflow
```

## V2Beta1 client library

> [!NOTE]
> **Beta**   
> The V2Beta1 API might be changed in backward-incompatible ways and is not subject to any SLA or deprecation policy. The V2Beta1 API is not intended for real-time usage in critical applications.

Dialogflow's V2Beta1 API offers new features that are not yet available with the V2 API.
To use the V2Beta1 client library:

- Enable beta features. See [agent general settings](https://docs.cloud.google.com/dialogflow/docs/agents-settings#general).
- Specify the V2Beta1 API in your code by using the following require statement:

      const dialogflow = require('https://docs.cloud.google.com/nodejs/docs/reference/dialogflow/latest/overview.html').v2beta1;