To start using the Google AI services and Dialogflow follow the steps below.
- Enable the setting AiX > Settings > Artificial Intelligence > Google > Dialogflow Chatbotand save the changes.
- Go to console.cloud.google.com and sign in.
- Select or create a project by clicking the Select a projectbutton on top-left. Name the project as you want.
- Activate the Dialogflow API by entering Dialogflow APIon the top search bar. ClickDialogflow APIand then clickEnable.
- Select the project and the go to Left menu > APIs and services > OAuth consent screen. SelectExternaland clickCreate. In App name enter what you want, inUser support emailandDeveloper contact informationenter your email. ClickSave and continue.
- In the scopes area, click Add or remove scopes, scroll bottom and into theManually add scopesarea enter https://www.googleapis.com/auth/dialogflow,
 https://www.googleapis.com/auth/cloud-language,
 https://www.googleapis.com/auth/cloud-translation.
 ClickAdd to tableand thenUpdateandSave and continue.
- In the test users area, click Add usersand add your Google email, use the same email as the currently logged in account. ClickSave and continue.
- Go to Left menu > APIs and services > Credentialsand clickCreate credentials, selectOAuth client ID. AsApplication typeselectWeb application. Enter any name you want. InAuthorised redirect URIenter the redirect URL, get it fromAiX > Settings > Artificial Intelligence > Google > Authorised redirect URI. ClickCreate.
- Copy Client IDandClient Secretand paste them intoAiX > Settings > Artificial Intelligence > Dialogflow. Save the settings.
- In Settings > APIs & Services > OAuth Consent ScreenclickPUBLISH APP. There is no need to complete the review process, leave it in the pending review state.
- Click AiX > Settings > Artificial Intelligence > Google > Synchronize. Login with the same Google account you have used till now. On the next screen clickContinue. On the next screen select all scopes and clickContinue.
- Copy the Refresh tokenand paste it intoAiX > Settings > Artificial Intelligence > Google > Refresh token.
- You are done! If you want to activate the Dialogflow chatbot, you have to enter your chatbot Project ID or Agent Name, to get it follow the steps. Note that the app does not need to be approved by Google.
PREVIOUS < Google
NEXT > Dialogflow