-
Notifications
You must be signed in to change notification settings - Fork 58
OAuth Setup For Dialogflow Agent
Follow the below steps to setup OAuth for the dialogflow agent created from the previous step.
This will take you to the Google Cloud Platform Service Accounts page, but you first need to update the Service Account's role.
In order to call the API using the key you just generated, you'll need to provide the key using the Google Cloud SDK.
-
If you haven't already, install and initialize the Cloud SDK. Google Cloud Client Libraries need NOT be installed.
-
Set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the file path of the JSON file that contains your service account key. For use in future shell sessions, you should save this setting in an initialization file or system setting, such as in a .bashrc or .bash_profile file.
-
Finally copy the Project ID from the agent's general settings. Only this Project ID will be used in Benten config.