Create Whitelabel App for Google Login, Google Sheets, and Google Dialogflow

Modified on Tue, 16 Jul at 5:26 PM

To read this in Portuguese, Click Here.


A Whitelabel can use their own app or Google Login, Google Sheets, and Google Calendar integration.




Requirements

You must create an account on the Google Cloud Platform (GCP). You can use a single GCP account for Google Login, Google Sheets, and Google Dialogflow.


Follow the below steps to create your Google Cloud Project and enable Google Speech to Text API.


1 – Got to Google Cloud Platform.




Create a Google Cloud Project



Specify any name and continue



2 – Go to Google Sheets API and enable it.



We use this scope to allow businesses to send data from the Chatbot to Google Sheets. 

Watch a short video on sending data to Google Sheets here. 



3 – Go to Google Calendar API and enable it.


We use this scope to allow businesses to add appointments to Google Calendar. We also use this scope to get a list of events on a Google Calendar to avoid overbooking.
Watch a short video on making a booking in Google Calendar here. 



Create a Google group.


All Google Apps need to be associated with a Google Group managed by you. Click here and create a Google group with the name of your Whitelabel.






Setup the OAuth consent screen

Click here and follow the below instructions.






Use https://subdomain/legal/privacy-policy as Privacy Policy.


If you don’t have any terms of service, you can use https://subdomain/legal/terms-of-service


Add Scopes: Only add scope for Integrations that you need.


Google Sheets Integration

https://www.googleapis.com/auth/spreadsheets


Google Calendar Integration

https://www.googleapis.com/auth/calendar.events



Add Google Sheets scope:



Add Google Calendar scope:



After you finish the above steps, go to the OAuth consent screen and publish your app.




Create OAuth 2.0 Client ID

Go to the API & Services > Credentials page and click CREATE CREDENTIALS button.




Application Type: Web application


Name: Whitelabel App


Authorized redirect URIs:

https://subdomain/webhooks/auth.php?google_sheets=true

https://subdomain/webhooks/auth.php?dialogflow=true

https://subdomain/webhooks/auth.php?google_login=true




Connect Google App to your Whitelabel

You will need Client ID and Client Secret. Go to Credentials, and click the Edit icon.







Go to Your Whitelabel admin dashboard and change Login with Google, Sheets, Calendar and Google Dialogflow settings.


Verify Google App for your Whitelabel

Google Sheets: We use this scope to allow businesses to send data from the Chatbot to Google Sheets.

Video: Create a video that uses the Google Sheets actions to send data to Google Sheets

You sent

Google Calendar: We use this scope to allow businesses to add appointments to Google Calendar. Also, we use this scope to get list of events on a Google Calendar to avoid overbooking.

Video: Create a video that shows you book an appointment and show the appointment added on Gooogle Calendar


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article