Open navigation

Google Cloud Directory/Drive: set the synchronization

Google Configuration


Prerequisite: Gespage must be version 9.3.0 or higher.

 

You will find below the steps to follow to synchronise your users from a Google directory, and enable scan to Google Drive functionality.

 

To enable the possibility to scan to Google Drive, you must enable  the Google Drive API, create a service account to use this API and a define authorization for this service account.

Then you must synchronize your users in Gespage and create a scan profile in Gespage with Google Drive output.

 

Enable Google API:

Accede to you google console under the following URL: https://console.cloud.google.com

Accede to the API menu by clicking on ‘API and services’ in the quick access menu:

 

Une image contenant texte, capture d’écran, Police, ligne

Le contenu généré par l’IA peut être incorrect.

Go under Library, and do a search on Google Drive API:

 

Une image contenant texte, capture d’écran, Police, nombre

Le contenu généré par l’IA peut être incorrect.

 

Une image contenant texte, capture d’écran, logiciel, Police

Le contenu généré par l’IA peut être incorrect.

 

Then, activate the API:

 

Une image contenant texte, capture d’écran, Police, Système d’exploitation

Le contenu généré par l’IA peut être incorrect.

 

Service account creation:

Go back to the home menu from your Google console, and select ‘IAM and administration’:


Une image contenant texte, capture d’écran, Police, ligne

Le contenu généré par l’IA peut être incorrect.


Then, select ‘Service account’:


Une image contenant texte, capture d’écran, Police, nombre

Le contenu généré par l’IA peut être incorrect.


 

And choose, ‘create a service account’:


Une image contenant texte, Police, capture d’écran, ligne

Le contenu généré par l’IA peut être incorrect.

 

After the service account creation, you must add a key to this account.

Une image contenant texte, capture d’écran, logiciel, Police

Le contenu généré par l’IA peut être incorrect.


The key must be create with JSON format.

Once the key is created, download it.

 

Adding autorisation:

Now, you need to go on the Google Admin console to add authorization on the service account.

You can perform this action, under the ‘API controls’ tabs.


Click on Add:


Une image contenant texte, capture d’écran, logiciel, Page web

Le contenu généré par l’IA peut être incorrect.

 

Set your ID, and add the following authorization:


To synchronise the users:


To allow the Google Drive management:

Une image contenant texte, capture d’écran, Police, affichage

Le contenu généré par l’IA peut être incorrect.

 

 

Gespage user's synchronization


on Gespage, go under Directory Synchronization menu:



Choose Google Cloud Directory.

Before launch the synchronization, you must set the email for the service account you created, and import the JSON file previously created with the access right for the API regarding the users and the Google Drive access.




Gespage outgoing creation

Then, you must create an outgoing profile, and link it to a Gespage advanced scan profile.

Add an outgoing profile to save documents:

 

Une image contenant texte, capture d’écran, Police, nombre

Le contenu généré par l’IA peut être incorrect.

 

Define the storage connector to Google Drive:

 

Then, create an advanced scan profile for the user group you want (Default group contain all users) and define the outgoing flow to the one you create previously:

 

Une image contenant texte, capture d’écran, logiciel, nombre

Le contenu généré par l’IA peut être incorrect.

 

Your user can now use this scan flow, and will be able to get the scan in their Google Drive office account, under the directory GespageScan:

 

Une image contenant texte, capture d’écran, logiciel, nombre

Le contenu généré par l’IA peut être incorrect.

 

 

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.