30,997
edits
| Line 118: | Line 118: | ||
== Setup of Google Contact == | == Setup of Google Contact == | ||
This module allows you to synchronize Dolibarr with your Google contact annuary. | This module allows you to synchronize Dolibarr with your Google contact annuary. | ||
First, choose all Dolibarr elements you want to synchronize | First, choose all Dolibarr elements you want to synchronize among (You can choose several choices): | ||
* Thirdparties (if module Thirdparty is enabled) | * Thirdparties (if module Thirdparty is enabled) | ||
* Contacts/addresses of thirdparties (if module Thirdparty is enabed) | * Contacts/addresses of thirdparties (if module Thirdparty is enabed) | ||
* Members (if module foundation members is enabled) | * Members (if module foundation members is enabled) | ||
Then enter your Google | Then enter the following in formation: | ||
1) The Google login account (example myaccount@gmail.com or myname@mycompany.com) | |||
2) The Google Client ID and the Google Client Secret. You can create your Google Client ID and Secret from page https://code.google.com/apis/console/, menu "API & Authentication" -> "Credentials". Click on "Create a client ID" and choose "Web Application", set "Allowed Javascript origin" to empty and set "Redirect URI" to the value provided into the "Note" on the setup page. It should be something like http://mycompanydomain/.../google/oauth2callback.php | |||
Then click on button "Create". You will get a new '''Client ID''' and a '''Secret code'''. | |||
3) Save the Google setup page after filling Client ID and Secret Code. Buttons to make synchronization tests should be available. Click on them to make tests. | |||
'''TroubleShooting''' | '''TroubleShooting''' | ||