Summary
Configure Universal connector for Gmail Account
Question/Problem Description
-
How to configure Gmail Account with Universal Connector
-
How to configure Google Apps for universal connector
Environment
Product: CRM Connector
Version: 11.x.x
OS/Platform: Any
Resolution
Follow below steps to configure Gmail account with Universal Connector:
Google service account (required for synchronization of appointments)
-
Login to
Google Developer Console
, create new project or open existing one (click on project name)
-
Click
Enable APIs and get credentials like keys
link
-
Click
Calendar API
link->If Calendar API is not enabled click
Enable API
button->Make sure
Calendar API
is on Enabled APIs list
-
switch to
Credentials
screen->Click
New credentials
drop down menu and select
Service account key
->Write name of new service account in
Name
textbox, make sure to select
P12
as type of file with key->click
Create
button
-
NOTE
: p12 key file must be put in universal connector folder and renamed to
connector.p12
-
New service account should show up on
Service account keys
list->Click
Manage service accounts
link->Click context menu button for created service account and select
Edit
command->Check
Enable Google Apps Domain-wise Delegation
checkbox and click
Save
button
-
In
Options
column for created service account you should see
DwD label
and
View Client ID
link->Click
View Client ID
link->Copy
Client ID
(you will need it in next step) and click
Save
button.
-
Login with your Google Apps administrator account to Admin console and go to
Manage API client access
screen.
-
Paste
client id
of service account into
Client Name
textbox and
https://mail.google.com/,https://www.googleapis.com/auth/calendar
into
One or More API Scopes
textbox then click
Authorize
button
-
Open
users.xml
for universal connector, double click
2-legged Authentication
, copy
OAuth consumer key
into username textbox and
OAuth consumer secret
into password textbox
-
In Google Developer Console->Go to detail of your service account and copy its email address
-
In
users.xm
l double click
Google Service Account
and paste copied email address of service account into username textbox->Leave password textbox empty.
-
Update the Connector UI setting with Google details