First you need to install and activate our Google Calendar Add-on for LatePoint. You can find it under “Settings -> Add-ons” page in your LatePoint admin:
Enter your OAuth Client ID and Client Secret in LatePoint -> Settings -> Google Calendar -> Api Credentials (How to generate client ID and Secret?):
Now your agents can sign into their google account from the agent edit form, there will be a new box on the very bottom of “Edit Agent” page, click “Sign in with Google” and login to their google account:
Note: Potential issues at this step:
- Clicking Sign in with Google does not do anything
- App not verified warning when trying to connect calendar
Once connected it will change to green and a new link “Open Event Manger” will appear:
When you open an event manager, you will see two tabs: Bookings in latepoint and Google Calendar Events. First tab shows bookings of the selected agent in your LatePoint database, you can sync either all of them (Sync all bookings to Google link) or pick individually by clicking on a circular arrows icon next to each booking. Synced bookings will appear green.
Two Way Sync
If you want two-way sync (google will ping your server everytime there is a change on connected calendar) you will need to verify your domain. Just add your domain to your project in Google Developer Console and follow the steps of domain verification:
Once your domain is verified, you can click “Enable Auto-Sync” button (it can take couple hours for Google to verify your domain in case you see an error message)
Once two-way sync is enabled it will turn green, you can disable it anytime you want if you wish so.
note: You don’t have to refresh token manually, it should keep itself updated as long as your website is active, however in case it suddenly expires or you made some modifications in your Google Console Project API you can click “Refresh Token” to refresh it:
Events on my Calendar
When you have events from your Google Calendar synced to LatePoint database, they will appear in your latepoint calendar with a distinct Google logo with white box with blue border:
And on a timeline as well: