A GCP service account manages the permissions provided to access a GCP resource. The Dialogflow agent we created was a GCP resource and so to use it from the Python API, we'll need a service account:
- In the GCP console, from the left-hand side navigation menu, go to APIs | Services | Credentials.
- Click the Create credentials button to get the following options:
- Click on Service account key. In the page that comes up next, select Dialogflow Integrations as the service account and JSON as the key type. After clicking Create, a JSON file is downloaded to your computer.
- Note down the address of this JSON file—for ...