Skip to main content

Synchronization

To start using Dialogflow with Chat24Plus, follow the steps below.

  1. Go to https://console.cloud.google.com/ and sign in.
  2. Activate the Dialogflow API by entering Dialogflow API in the top search bar. Click Dialogflow API and then click Enable. Enable Dialogflow API
  3. Create your first project by clicking the Select a project button on the top-left. Select project Name the project as you want. Name project
  4. Select the project and then go to Left menu > APIs and services > OAuth consent screen. Select External and click Create. OAuth consent screen In App name, enter what you want. In User support email and Developer contact information, enter your email. Click Save and continue. App details
  5. In the scopes area, click Add or remove scopes. Scroll to the 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. Scopes
  6. 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. Test users
  7. Go to Left menu > APIs and services > Credentials and click Create credentials, then select OAuth client ID. Credentials As Application type, select Web application. Enter any name you want. In Authorised redirect URI, enter the redirect URL, which you can get from Chat24Plus > Settings > Dialogflow > Synchronization > Authorised redirect URI. Click Create. OAuth client
  8. Copy Client ID and Client Secret and paste them into Chat24Plus > Settings > Dialogflow > Synchronization. Save the settings. Copy credentials
  9. Click Chat24Plus > Settings > Dialogflow > Synchronization > Synchronize. Log in with the same Google account you have used until now. On the next screen, click Continue. Continue On the next screen, select all scopes and click Continue. Select scopes
  10. Copy the Refresh token and paste it into Chat24Plus > Settings > Dialogflow > Synchronization > Refresh token. Refresh token
  11. You are almost done! Now you have to enter your chatbot Project ID or Agent Name. To get it, follow the steps below. Note that the app does not need to be approved by Google.

Watch the video

Get Project ID​

  1. Log in to the Dialogflow ES console by going to https://dialogflow.cloud.google.com/. You must sign in with the same Google account used during the synchronization.
  2. Click the gear icon at the top left, near the chatbot name, and open the settings area. Gear icon. If you haven't created a chatbot yet, follow the instructions below to create your first bot.
  3. Copy the Project ID. Copy Project ID.
  4. Make sure to choose US / GLOBAL on the top left of the Dialogflow dashboard. Region.

Get Dialogflow CX Agent Name​

  1. Log in to the Dialogflow CX console by going to https://dialogflow.cloud.google.com/cx/.
  2. Select the project of the desired agent and go to the agents page. You can enter the agents page by selecting the agent and clicking the top button Agents > View all agents. CX agents.
  3. Click the options menu for the desired agent and click Copy name. Copy name.
  4. More details at https://cloud.google.com/dialogflow/cx/docs/quick/api#detect-intent-drest.