BigQuery
Connecting BigQuery to Index
To establish a connection between Index and your BigQuery database, you’ll need to configure a service account in Google Cloud Platform (GCP) with appropriate data access permissions.
Connection Requirements
To successfully connect, you’ll need three essential pieces of information:
- Project ID
- Service Account Email
- Private Key
Connection Requirements
To successfully connect, you’ll need three essential pieces of information:
- Project ID
- Service Account Email
- Private Key
Project ID Format Example:
Service Account Email Format Example:
Private Key Format Example:
Service Account Setup Guide
Creating Your Service Account
- Visit the GCP Console’s IAM & Admin > Service Account section
- Click “Create Account”
Configuring Permissions
Assign these two roles to your service account:
- BigQuery Data Viewer
- BigQuery Job User
Generating Authentication Credentials
- Locate your service account in the overview
- Open the Actions menu
- Select “Manage keys”
- Click “Add key” → “Create new key”
- Choose JSON as your key type
- Download the generated JSON file
Connecting to Index
Open your downloaded JSON file and locate these fields:
project_id
client_email
private_key
Enter these values in the corresponding fields in Index’s database connection form.
Sample JSON Configuration
Required Permissions
For custom role configuration, ensure these permissions are included:
bigquery.datasets.get
bigquery.jobs.create
bigquery.tables.get
bigquery.tables.getData
bigquery.tables.list
Common Issues
Decoder Error
If you encounter error:1E08010C:DECODER routines::unsupported
, verify your private key format matches:
Invalid JWT Signature
If you see invalid_grant: Invalid JWT Signature
, your private key may be invalid. Generate a new one through your service account settings.