Google Workspace Integration
Integrate Google Workspace with TheStorage to automatically synchronize your organization's user directory. This enables employee data to be fetched and kept up-to-date without manual configuration.
Requirements
- Google Workspace Admin permissions are required.
Step 1: Create a Google Cloud Project
-
Navigate to console.cloud.google.com.
-
Click New Project.

-
Name the project TheStorage and select an appropriate location.

-
Click Create and wait for the project to be provisioned.
Step 2: Create a Service Account
-
Go to APIs & Services > Credentials.

-
Click Create Credentials > Service Account.

-
Fill in the Service Account details:
Field Value Service Account Name thestorage_svcService Account ID thestorage_svc(auto-generated)Description (optional) TheStorage Service Account
-
Click Create and Continue. Skip the optional access steps and click Done.
Step 3: Generate a Key
-
Click the edit icon for the service account.

-
Copy the Unique ID — you will need it later.

-
Go to the Keys tab and click Add Key > Create new key.
-
Select JSON as the key type and click Create.

-
A JSON file will be downloaded. Keep this file in a secure location — it will be needed during the TheStorage configuration.
Step 4: Configure Domain-Wide Delegation
-
Navigate to https://admin.google.com and log in with your administrator account.
-
Go to Security > Access and Data Control > API Controls.

-
Click Manage Domain Wide Delegation.

-
Click Add new and configure:
Field Value Client ID The Unique ID you copied earlier OAuth scopes https://www.googleapis.com/auth/admin.directory.user.readonly
-
Click Authorize.
Step 5: Complete TheStorage Configuration
Fill out the Google Workspace integration form on TheStorage with:
- The JSON key file downloaded during Step 3.
- Your company domain name (e.g.,
mycompanyname.com). - The administrator email address executing this integration.