Table of Contents
Dialogflow - How to get JSON Key
Updated
by Pau Sanchez
Here is how you can get the JSON key you need to connect Landbot with your Dialogflow agent
- Create a Dialogflow Agent (if you already have one created skip this step)

- Once created, go to settings section of the Agent, by selecting the wheel next to the Agent Name:

And you will see this screen:

- Press in the link of the Google Project:

It will open the Google Cloud Console for this project:

- From the secction "Getting started" select "Explor and enable APIs"

- And now select "Credentials"

- Select "+ CREATE CREDENTIALS"

And this dropdown will be displayed:

- Select "Service account":

- Now we will create a Service Account to be able to generate the API Key.
Add a name to the service account, and press CREATE

- In the next step select Owner, and press CONTINUE:

- Here you don't need to feel any more details, just press DONE

You will return to the Credentials section:

- Press in the email that is located in the Service Accounts:

- In the new screen, scroll down press "ADD KEY" and after select "Create new key"

- Make sure the "JSON" is selected, and press CREATE:

- Now, a file will be generated and downloaded:

This is the JSON key, that you need to connect your Dialogflow Agent (project) with Landbot.
- Go back to Landbot, and in the Dialogflow select to add a new JSON key:

- A screen to add your recently downloaded JSON key will display, browse and select the file to be uploaded:

- And finally, your Dialogflow Agent, will be ready in Landbot
