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
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 MsgSmartly > Settings > Dialogflow > Synchronization > Authorised redirect URI. Click Create.
Copy Client ID and Client Secret and paste them into MsgSmartly > Settings > Dialogflow > Synchronization Tab. Save the settings.
Click MsgSmartly > Settings > Dialogflow > Synchronization Tab > 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 MsgSmartly > 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.