Contracts AI

Google Drive integration

Connect Google Workspace and select Drive folders to import and analyze contracts. Authorize with Google, pick folders to sync, and manage the connection from Settings or Admin.

Connect Google Drive so Contracts AI can import and analyze contracts from your chosen Drive folders and shared drives. Setup is done in Admin (or Settings) → Google Drive.

Step 1 of 3: Configure Domain-Wide Delegation

Important: Use the same email for both Contracts AI and the Google Workspace Admin Console.

  1. Enable the Admin SDK API in your Google Cloud Console.
  2. In the Admin Console, go to SecurityAccess and Data ControlAPI ControlsDomain-wide Delegation.
  3. Click Add new.
  4. Enter the Client ID shown in the app (you can copy it from the Google Drive panel). The app displays this ID for you to paste into Google.
  5. Enter the OAuth scopes shown in the app (e.g. https://www.googleapis.com/auth/drive.readonly, https://www.googleapis.com/auth/admin.directory.user.readonly). You can copy them from the panel.
  6. Click Authorize in the Admin Console.
  7. In the app, click Continue to go to Step 2.

Step 2 of 3: Enable Admin SDK API

The Admin SDK API must be enabled for Contracts AI to access your Google Workspace users.

  1. Open the Google Cloud Console – Admin SDK API page.
  2. Click Enable.
  3. Wait 1–2 minutes for the API to be fully enabled.

Common issue: If you skip this step, you may see an "unauthorized_client" error when verifying. Ensure the API shows as Enabled before clicking Verify and Continue.

  1. In the app, click Verify and Continue. When verification succeeds, you proceed to Step 3.

Step 3 of 3: Select Folders and Shared Drives

  1. The app loads your Google Drive folders and shared drives. Use the Search folders and drives... box to filter the list if needed.
  2. Select the folders and shared drives that contain contract documents you want to analyze. You can use Select All or tick individual items. Only contracts in selected locations will be analyzed.
  3. Click Save X Folder(s) (or Done if you select none). Your folder choices are saved and contract analysis starts in the background. You can keep using the app while analysis runs.

After setup

  • New contracts from the selected folders appear in Contract Views (subject to permissions). You can Sync to [source] from a contract detail page to refresh extraction if the file was updated in Drive.
  • To change which folders are synced, open AdminGoogle Drive again, adjust the selection, and save.
  • Use Disconnect in the panel to remove the Google Workspace connection. This does not delete already-imported contracts; it only stops new syncs.

Did this answer your question?