Synchronisation

To start using Dialogflow with EBOT365 follow the steps below.

Go to console.cloud.google.com and sign in.

Create your first project by clicking the Select a project button on top-left. Name the project as you want.

Select the project and the go to Left menu > APIs and services > OAuth consent screen. Select External and click Create. In App name enter what you want, in User support email and Developer contact information enter your email. Click Save and continue.

In the scopes area, click Add or remove scopes, scroll bottom and into the Manually add scopes area enter https://www.googleapis.com/auth/dialogflow, https://www.googleapis.com/auth/cloud-language,https://www.googleapis.com/auth/cloud-translation. Click Add to table and then Update and Save and continue.

In the test users area, click Add users and add your Google email, use the same email as the currently logged in account. Click Save and continue.

Go to Left menu > APIs and services > Credentials and click Create credentials, select OAuth client ID. As Application type select Web application. Enter any name you want. In Authorised redirect URI enter the redirect URL, get it from EBOT365 > Settings > Dialogflow > Synchronization > Authorised redirect URI. Click Create.

Copy Client ID and Client Secret and paste them into EBOT365 > Settings > Dialogflow > Synchronization. Save the settings.

Click EBOT365 > Settings > Dialogflow > Synchronization > Synchronize. Login with the same Google account you have used till now. On the next screen click Continue. On the next screen select all scopes and click Continue.

Copy the Refresh token and paste it into EBOT365 > Settings > Dialogflow > Synchronization > Refresh token.

You are almost done! Now you have to enter your chatbot Project ID or Agent Name, to get it follow the steps below.

Get Project ID

Log in to the Dialogflow ES console by going to dialogflow.cloud.google.com. You must sign in with the same Google account used during the synchronization.

Click the gear icon at the top left, near the chatbot name, and open the settings area. . If you haven’t created a chatbot yet, follow the instructions below to create your first bot.

Copy the Project ID .

Make sure to choose US / GLOBAL on the top left of the Dialogflow dashboard

Get Dialogflow CX Agent Name

Log in to the Dialogflow CX console by going to https://dialogflow.cloud.google.com/cx/.

Select the project of the desired agent and go to the agents page. You can enter the agents page by selecting the agent and by clicking the top button Agents > View all agents .

Click the options menu for the desired agent in click Copy name.

More details at https://cloud.google.com/dialogflow/cx/docs/quick/api#detect-intent-drest.