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

  1. Go to the

google api consle
  1. Google API Console

  2. Create a project for Booker25

Gsuite integration
  1. GSuite Integration

  2. Go to

library
  1. Library in the

api console making
  1. API Console and make sure the Booker25 project is selected

.
search
  1. Search for Google Calendar API and enable it for this project

.
  1. Go to

credentials
  1. Credentials in the

api
  1. API console

making
  1. and make sure the Booker25 project is selected

.
  1. Click

create credentials
  1. Create Credentials and then

service account
  1. Service Account

  2. Go through the

service account
  1. Service Account creation process

  2. Set the role to

owner
  1. Owner ← I think this is required might want to check

  2. Don’t need to grant users access. i think

  3. Go to the

service account detail page and enabled domain wide delegation
  1. Service Account Detail page and enable Domain Wide Delegation

    1. Copy the Unique ID, you will need it in a later stage

  2. Go to the

keys
  1. Keys tab and generate a new key in the p12 format. Remember the password given to you by google

. Most likely
  1. 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

  1. go to the google admin console

  2. security

  3. api controls

  4. click manage domain wide delegation

  5. Click add new and set the client id to the client id that was created with your service account

  6. add the following

scopes
  1. scope

    Code Block
    https://www.googleapis.com/auth/calendar.events
  1. , https://www.googleapis.com/auth/calendar

  2. Click Authorize

Table of Contents
minLevel1
maxLevel7