30,997
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 113: | Line 113: | ||
3) You must create a service account user/email from page {{ModuleGoogleUrlToCreateApiAccount}}, menu "Credentials" . Click on "Create a client ID" and choose "Service Account". Then on the tab " | 3) You must create a service account user/email from page {{ModuleGoogleUrlToCreateApiAccount}}, menu "Credentials" . Click on "Create a client ID/Credential" and choose "Service Account". Choose a name for your service account and click "Done". Then on the tab "Keys" for this service account, create a key with "type of file JSON" then "Create" to get the JSON key file. | ||
* A new service account with | After this step, you will get: | ||
* A .json file to | * A new service account with a Service account EMail (for example myname-890@myprojectdomain.iam.gserviceaccount.com). You need to enter this value into the Dolibarr setup field "Service account EMail". | ||
* A .json file to upload into the Dolibarr setup field "Service account json file" | |||
If you choose to synchronize to only 1 unique Google agenda target or to one different agenda for each user, you have only to create 1 service account. However, you may need to give permissions to all google account if you set 1 different agenda for each user (see step 5). | If you choose to synchronize to only 1 unique Google agenda target or to one different agenda for each user, you have only to create 1 service account. However, you may need to give permissions to all google account if you set 1 different agenda for each user (see step 5). | ||