Table of Contents
Dialogflow & Landbot lesson 2: Get the JSON Key
Updated
by Pau Sanchez
Prefer watching than reading? No problem, we've got you covered π
This lesson is just about how to get a key that will make Landbot be able to connect with a specific agent you create in Dialogflow.
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 this section "Getting started" select "Explore 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 fill in any more details, just press DONE

You will return to the Credentials section:

- Press on 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

You can also upload an JSON Key from the Dialogflow Integration Dashboard (Link)

Next Lesson
Dialogflow & Landbot course 3: Setting up of Dialogflow in Landbot Link to lesson