Imagine if your app had its own google calendars. You could use Google Calendar without a user being signed in with their account!
NOTE: This is the JSON WEB Token authentication version, users will access the Service Account Google Calendar.For the information on how to obtain Service Account Keys for a Service Acc. plugin, please read here: https://docs.zeroqode.com/obtaining-google-service-account-keys
For using the plugin you'll need to get the API credentials with JWT for Google . Create your development account at : https://console.developers.google.com and enable the Google Calendar API , Admin SDK API.
In your GSuite Admin Console (https://gsuite.google.com/products/admin/) enable Google Calendar.
Plugin comes with Google Calendar Visual Element. (Optional)
Setting up Google Account and Bubble Plugin
1) First of all we need to register a Google Service Account with JWT (link) and obtain:
a) Iss (account email): [your-account-name]@[google-project-name].iam.gserviceaccount.com
b) Private Key:
-----BEGIN PRIVATE KEY----- HERE YOUR PRIVATE API KEY -----END PRIVATE KEY-----
2) Enable Google Calendar in GSuite Admin and set your settings and preferences for calendar
3) Install the plugin Google Calendar (Service Acc.) and fill out the inputs with the information above (keys from Google Developer Console).
4) Next it is possible use all the API Calls and Actions that the plugin provides.
Plugin Data Calls and Actions
Important: More info on service accounts and delegation process: https://developers.google.com/admin-sdk/directory/v1/guides/delegation https://developers.google.com/cloud-search/docs/guides/delegation https://www.labnol.org/code/20371-service-account-domain-wide-delegation