Booker25 allows you to sync Dimension records with Google calendars. This article explains how to connect your Booker25 environment with your Office365 environment.
Note: Googles docs for this https://developers.google.com/identity/protocols/oauth2/service-account
My domain
In order for the Booker25 Outlook extension to work, you will need to setup and deploy My Domain to your users. More information on this can be found here
Go to the google api consle
Create a project for Booker25 Gsuite integration
Go to library in the api console making sure the Booker25 project is selected.
search for Google Calendar API and enable it for this project.
Go to credentials in the api console making sure the Booker25 project is selected.
Click create credentials and then service account
Go through the service account creation process
Set the role to owner ← I think this is required might want to check
Don’t need to grant users access. i think
Go to the service account detail page and enabled domain wide delegation
Go to the keys tab and generate a new key in the p12 format. Remember the password given to you by google. Most likely
This key is in the wrong format to use in salesforce we first have to convert it first rename the file you just downloaded to something more simple going forward we will assume salesforce-booker25.p12
run the following command in the folder the salesforce-booker25.p12 file is in
keytool -importkeystore -destkeystore salesforce-booker25.jks -srckeystore salesforce-booker25.p12 -srcstoretype pkcs12 -deststoretype JKS
it wil then prompt you for a new password for the key file use the same password as provided by google for the p12 file. it wil then ask you to confirm the password.
it wil then ask you for the password google provided with the p12 file.
After doing these steps you should not have a salesforce-booker25.jks file in the same directory.
Go to certs in salesforce and import the cert
if you hit no data
create a self-signed cert in keys and cert management.
Enable Identity Provider and assigning the self-signed cert to it.
Then you would be able to import certificates/JKS.
This should be in the extention package
add remote site setting for https://oauth2.googleapis.com/token
add remote site setting for https://www.googleapis.com
go to the google admin console security api controls
manage domain wide delegation
add new and set the client id to the client id that was created with your service account
add the following scopes
https://www.googleapis.com/auth/calendar.events
https://www.googleapis.com/auth/calendar