External Calendar – Google Calendar Configuration Example
Create an OAuth Client in Deepser
In the Deepser Configuration in System > Tools > OAuth > Client > Add Client: enter a name, define the type as Calendar, set the provider as Google and save.
Once saved, copy the generated Redirect URI.
Go to the Google Cloud Platform, and log in. Once this is done, click on the menu at the top where all the projects are listed.
A window will open where you can create a new project using the New Project button. All you have to do is give your new project a name and click on the Create button.
To enter the newly created project , repeat the process above: click on the menu that groups all the projects and click on the name of the newly created project to start the configuration.
Once you have entered the project, click on the OAuth Consent Screen section in the menu on the left: in User Type select External and proceed by clicking Create.
Give the application a name, enter the email used for access in User Support Email and in Developer Contact Information. Proceed to Save & Continue.
Under Scopes, press the Add or Remove Scopes button.
In the form below the paragraph Add Manually, copy and paste the following address https://www.googleapis.com/auth/calendar. Then click Add to Table, and then click Update. Then click save and continue to continue.
In the Trial Users section, click on Add User and enter the email address with which you logged in to the platform.
Under Summary , click Save & Continue.
Now go to the Credentials section of the menu on the left and create a new Oauth Client ID through the Create Credentials button.
In the drop-down menu, select OAuth Client ID.
Select in the application type Web Application, give it a name, and under Authorized Redirect URIs, paste the URI that you previously generated and copied. Finally, click Create.
The Client ID and Client Secret will be generated and copied and entered into the respective fields of the OAuth Client previously started to configure in Deepser.
Once saved, proceed with the Client Validation by clicking on the Validate button.
Then log in and click Continue.
Tick the boxes regarding the read/write permission of Google calendars and click Continue.
If all the steps have been carried out correctly, the Client will be validated and active.
On the Google platform, go to Library. Then search for Calendar.
Enable Google Calendar.
Go to Google Calendar(https://calendar.google.com/) and create a new calendar to be shared with Deepser, otherwise you can use the calendars already present and prepared by default.
To create a new calendar, click on the + button next to the Other calendars label.
Give the calendar a name, a description (if any), and the desired time zone. Save with Create Calendar.
In Deepser, go to System > Calendars > External > Calendar and add a new calendar.
Give the calendar a name, define the Type as Google Calendar, in OAuth Client select the Client you previously created, and in Unique Id select the desired calendar.