Google Drive as a File Store

Enablix customers can configure Enablix to store files on a third-party cloud storage platform. Enablix supports Google Drive to store Enablix files.  Once integrated, all your files will be stored on your company's Google Drive account. This article discusses integration with Google Drive. There are three tasks to accomplish this integration. 

Create a Service Account in Google Drive

1
Go to the following URL - https://console.developers.google.com/iam-admin/serviceaccounts?. You may have to sign in to your Google Drive account if you are not already signed in.

2
Once signed in, you can select a project under which you want to create a service account, or create a new project for Enablix. 

3
Once the project has been created or selected, create the service account by clicking on the Create service account button.

4
Enter the details for the service account as shown below. Click CREATE. 

5
In the next step, you will have an option to select account permissions. This is an optional step. You need not make any changes here since the service account is for the specific project resource and therefore restricted in its access. Click CONTINUE. 
6

In this last step, you have an option to grant user access to this service account. No action is required. 

However, you need to create a JSON key and save that to your desktop. This file contains the authorization key required to connect to Google Drive API as this service account. Later, you will upload this JSON file in Enablix Administration section.

Click DONE. 

Note:
Please make sure you have downloaded the JSON file and saved it for future use. 

Enable Google Drive API

1
Go to the following URL - https://console.developers.google.com/apis/library?. You may have to sign in to your Google Drive account if you are not already signed in. Find Google Drive API and click on the Google Drive API thumbnail. 

2

Once you are on the Google Drive API page, Enable the API. 



Configure Google Drive Integration in Enablix

1
Login to your Enablix account. You should have Administrator privileges to configure Google Drive integration.
2
Click on Company name and go to Integrations section. By default, the File Storage is configured to store files on Enablix servers. Mouse over the existing configuration and you will see an Edit button. Click on the Edit button.


3
Select Google Drive as the file store.

4
You will see a form appear. Please fill out the form as follows.
  • Base Folder - This folder will be created (if it does not exist) under the service account and all the files will be stored in this folder. This folder will be shared with all the Administrator users in Enablix.
  • Service Key Account File - This is the json file you saved in the earlier step. Upload the file here. 
  • Email Domain - The base folder will be shared with only those administrator users whose email domain matches the given email domain. This prevents administrators who are not part of your organization have unauthorized access to your content in Google Drive. 

5
All Administrators will receive an email from Google about the shared folder.


Enablix is now configured to store files on your company's Google Drive.

Still need help? Contact Us Contact Us