Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Booker25 allows you to sync Dimension records with Google calendars. This article explains how to connect your Booker25 environment with your GSuite Google Calendar environment.
Info |
---|
Complete https://developers.google.com/identity/protocols/oauth2/service-account first |
Deploy My domain
In order for the Booker25 Outlook Google Calendar extension to work, you will need to setup and deploy My Domain to your users. More information on this can be found here
Google Calendar configuration
Go to the
Create a project for Booker25
GSuite Integration
Go to
Library in the
API Console and make sure the Booker25 project is selected
Search for Google Calendar API and enable it for this project
Go to
Credentials in the
API console
and make 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 enable Domain Wide Delegation
Copy the Unique ID, you will need it in a later stage
Go to the
Keys tab and generate a new key in the p12 format. Remember the password given to you by google
and save the file
Note |
---|
The key file generated from this is required to connect the salesforce environment to the GSuite environment. Keep this key secure because anyone with this key have the same access to the GSuite account as Booker25. |
This key is in the wrong format to use in salesforce we first have to convert it first . 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
Code Block |
---|
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 now 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 extension 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
click manage domain wide delegation
Click add new and set the client id to the client id that was created with your service account
add the following
scope
Code Block https://www.googleapis.com/auth/calendar.events
, https://www.googleapis.com/auth/calendar
Click Authorize
Table of Contents | ||||
---|---|---|---|---|
|