Key Features
File and Folder Selection
The integration includes a file and folder picker, enabling users to upload single documents or entire folders from Google Drive into Legora
Helps users navigate their document structure in Google Drive and select the desired files and folders.
Continuous Syncing
Legora offers on demand syncing to ensure documents in Legora are always updated with the latest versions from Google Drive.
Reduces manual updates and improves accuracy.
Secure Authentication and Connectivity
Legora employs Google Drive native authentication system for secure user validation.
No user credentials are passed through Legora; instead, an access token is used to fetch and parse documents from Google Drive.
Compatibility
Google Drive Deployments: Pre-established connection for a seamless integration experience.
Deployment Timeline
The integration can be deployed within 3 days from when all the details have been sent over to the Legora team.
Setup Instructions
This guide will walk you through the process of setting up a Google Cloud Project and configuring the necessary details to allow your users to upload files directly from Google Drive to Legora.
Step 1: Create an Google Drive App Registration
To enable your web application to interact with Google Drive, create a project in the Google Cloud Console and enable the necessary APIs.
Create a Google Cloud Project:
Go to the Google Cloud Console.
Create a new project (or select an existing one).
Give it a meaningful name (e.g., “Client Drive Integration”).
Enable the Google Drive API:
In the left sidebar, navigate to APIs & Services > Library.
Search for “Google Drive API” and click to Enable it.
Enable the Google Picker API:
In APIs & Services > Library, search for “Google Picker API” (or “Google Picker”) and enable it
Step 2: Submit the following details
The OAuth consent screen is required for your app to request access to user data.
In APIs & Services > OAuth consent screen, click “Get started”
Fill in the requested information such as:
App name - Give the connection a name you will remember, eg. Legora <> Google Drive
User support email - The email internal people will see, if they need access support. Add here eg. your it support email address
Audience - Choose Internal, it's currently the only supported way and will enable using this integration for users within your own Google Workspace domain.
Contact email - Add the develop email addresses who should be informed about changes by Google
Terms & Conditions - Agree to the Google API Services: User Data Policy
Navigate to the Data Access tab and select “Add or remove scopes”. Add the following required scopes:
Save the changes
Step 3: Create OAuth 2.0 Credentials
Back track and navigate to APIs & Services > Credentials.
Click Create Credentials > OAuth client ID.
Choose Web application as the application type and name the application something meaningful to you. This is just descriptive and has no effect on the connection.
Under Authorized JavaScript origins, add:
https://app.eu.legora.com for EU clients
https://app.us.legora.com for US clients
https://app.ap.legora.com for APAC clients
Under Authorized redirect URIs, add:
https://app.eu.legora.com/google-drive for EU clients
https://app.us.legora.com/google-drive for US clients
https://app.ap.legora.com/google-drive for APAC clients
Select “Create”
Save the Client ID and Client Secret, these are needed for integration.
Step 4: Create Developer Key (API key)
In APIs & Services > Credentials, click Create Credentials > API key.
Save the generated API key
Step 5: Send the Authentication Credentials to [email protected] or your POC.
OAuth 2.0 Client ID
OAuth 2.0 Client Secret
Developer Key (API key)
