To start using the Google AI services and Dialogflow follow the steps below.
AiX > Settings > Artificial Intelligence > Google > Dialogflow Chatbot and save the changes.Select a project button on top-left. Name the project as you want.Dialogflow API on the top search bar. Click Dialogflow API and then click Enable.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.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.Add users and add your Google email, use the same email as the currently logged in account. Click Save and continue.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 AiX > Settings > Artificial Intelligence > Google > Authorised redirect URI. Click Create.Client ID and Client Secret and paste them into AiX > Settings > Artificial Intelligence > Dialogflow. Save the settings.Settings > APIs & Services > OAuth Consent Screen click PUBLISH APP. There is no need to complete the review process, leave it in the pending review state.AiX > Settings > Artificial Intelligence > Google > 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.Refresh token and paste it into AiX > Settings > Artificial Intelligence > Google > Refresh token.