Changes

Jump to navigation Jump to search
Line 71: Line 71:  
Then, you must setup and enter the API keys provided by Google. This is done in several step.
 
Then, you must setup and enter the API keys provided by Google. This is done in several step.
   −
1) Find the Google Agenda ID or your calendar.
+
1) You must also enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Authentication" -> "API". Click to enable API for "Calendar API".
 +
 
 +
2) Find the Google Agenda ID or your calendar.
 
For this,  
 
For this,  
 
# Log to http://calendar.google.com
 
# Log to http://calendar.google.com
Line 83: Line 85:     
Note: you can keep this field empty and fill instead the "ID Agenda" at the user card level (into tab "Google" on '''each user card'''). Each user can have its own calendar. In such a case, it is the owner of the event (visible on Dolibarr event card) that will be used by Dolibarr to know which Agenda ID to target for synchronization. It means each event into Dolibarr can be pushed only toward one and only one agenda (if there is several users assigned to event, it is the owner of event that will be targeted). Note also that in such a case, step 5 must also be done for each Google account.
 
Note: you can keep this field empty and fill instead the "ID Agenda" at the user card level (into tab "Google" on '''each user card'''). Each user can have its own calendar. In such a case, it is the owner of the event (visible on Dolibarr event card) that will be used by Dolibarr to know which Agenda ID to target for synchronization. It means each event into Dolibarr can be pushed only toward one and only one agenda (if there is several users assigned to event, it is the owner of event that will be targeted). Note also that in such a case, step 5 must also be done for each Google account.
  −
2) You must also enable the API for your Google account. For this go on page {{ModuleGoogleUrlToCreateApiAccount}}, menu "API & Authentication" -> "API". Click to enable API for "Calendar API".
      
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 choose "type of file P12" then "Create". You will get:
 
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 choose "type of file P12" then "Create". You will get:

Navigation menu