Google Drive and Google Sheets Connection Setup
Overview
IB-X supports integration with Google Workspace services through Google OAuth 2.0 authentication.
Before configuring a Google Drive or Google Sheets connection, you must create and configure a Google Cloud project, enable the required APIs, and generate the necessary credentials.
IB-X provides separate connection types for Google Drive and Google Sheets because each service uses different Google APIs and permission scopes.
| Connection | Purpose |
|---|---|
| Google Drive | File and folder operations |
| Google Sheets | Spreadsheet operations |
The configuration process consists of the following steps:
- Create a Google Cloud Project
- Enable Required APIs
- Configure OAuth Consent Screen
- Create OAuth Credentials
- Create an API Key
- Obtain the App ID (Project Number)
- Configure the Connection in IB-X
- Sign in with Google
Create a Project in Google Cloud Console
To start using Google APIs, create a Google Cloud project.
- Open Google Cloud Console.
- Sign in using your Google account.
- Click Select a Project in the top navigation bar.
- Select an existing project or click New Project.

To switch between projects:
- Click the current project name.
- Select the desired project.

Enable Required APIs
After creating the project, enable the APIs required by IB-X.
Required APIs
| API | Purpose |
|---|---|
| Google Drive API | Required for Google Drive activities |
| Google Sheets API | Required for Google Sheets activities |
| Google Picker API | Required for file and folder selection |
Enable APIs
- Navigate to APIs & Services.
- Click Enable APIs and Services.

- Search for each required API.
- Open the API.
- Click Enable.
Enable the following APIs:
- Google Drive API
- Google Sheets API
- Google Picker API

Configure the OAuth Consent Screen
The OAuth Consent Screen defines how users authorize your application.
- Navigate to APIs & Services → OAuth Consent Screen.
- Click Get Started.

-
Enter an application name.
-
Select a User Support Email.
-
Choose the appropriate audience:
- Internal – Available only to users within your Google Workspace organization.
- External – Available to standard Google accounts.
-
Click Next.
-
Provide a contact email address.
-
Review and accept Google's user data policy.
-
Click Create.
After creation:
- Open the Audience section.
- Click Publish App.
- Confirm the action.

Testing Mode
Applications in testing mode can be accessed only by explicitly added test users.
Production Mode
Published applications can be used by any authorized Google account.
Create OAuth Credentials
OAuth credentials allow IB-X users to authenticate with Google.
- Navigate to APIs & Services → Credentials.
- Click Create Credentials.
- Select OAuth Client ID.
Create an OAuth Client
- Select Web Application.
- Enter a name.
- Copy the OAuth Redirect URL displayed by IB-X.
- Add the redirect URL to Authorized Redirect URIs.
- Add the application URL to Authorized JavaScript Origins.
- Click Create.

After creation, securely store:
- Client ID
- Client Secret
Authorized JavaScript Origins
Google requires the application URL to be either:
- A publicly accessible HTTPS URL
- localhost
Internal machine names and private hostnames are not supported.
Using an invalid origin will result in Google OAuth authorization failures.
Create an API Key
An API Key is required for Google Picker integration.
- Navigate to APIs & Services → Credentials.
- Click Create Credentials.
- Select API Key.

After creation:
-
Open the API Key configuration.
-
Configure API restrictions.
-
Enable access to:
- Google Drive API
- Google Sheets API
- Google Picker API
-
Save the changes.
Obtain the App ID
IB-X requires the Google Cloud Project Number as the App ID.
To obtain it:
- Navigate to IAM & Admin.
- Open Project Settings.
- Copy the Project Number.

The Google Cloud Project Number is used as the App ID when configuring Google Drive and Google Sheets connections in IB-X.
Configure the Connection in IB-X
Create either a Google Drive connection or a Google Sheets connection.
Provide the following values:
| Field | Description |
|---|---|
| Client ID | OAuth Client ID generated in Google Cloud Console |
| Client Secret | OAuth Client Secret generated in Google Cloud Console |
| API Key | API Key generated in Google Cloud Console |
| App ID | Google Cloud Project Number |
| OAuth Redirect URL | Automatically provided by IB-X |

Sign in with Google
After saving the connection configuration:
- Click Sign in with Google.
- Select the Google account.
- Review the requested permissions.
- Approve access.
After successful authorization, Google redirects back to IB-X and the connection becomes available for use.
Google Sheets Connection

Google Drive Connection

Troubleshooting
Invalid Client (401)
Verify:
- Client ID
- Client Secret
- Authorized Redirect URI configuration
Invalid Origin
Verify:
- Authorized JavaScript Origins
- Application URL configuration
Only public HTTPS URLs and localhost are supported.
Developer Key Invalid
Verify:
- API Key is configured
- Google Picker API is enabled
- API restrictions include:
- Google Drive API
- Google Sheets API
- Google Picker API
Picker Does Not Open
Verify:
- Google Picker API is enabled
- API Key is configured
- App ID (Project Number) is configured
Authentication Succeeds but File Selection Fails
Verify:
- Google Drive API is enabled
- Google Picker API is enabled
- The authenticated user has access to the selected file or folder
Limitations
- Users cannot delete files or folders they do not own.
- Access to Google resources is limited by the permissions granted during authorization.