Bigquery Setup
Note: Alternatively to creating a service account, you can use Workload Identity Federation to connect to BigQuery.
To connect Zenlytic to BigQuery, you'll need to create a service account and download the JSON key file. Here's how to do it:
Step 1: Create a Service Account
Go to the Google Cloud Console
Navigate to "IAM & Admin" > "Service Accounts"
Click "Create Service Account"
Give it a name (e.g., "zenlytic-service-account")
Click "Create and Continue"
For the role, select "BigQuery Admin" (or a more restrictive role if needed)
Click "Continue" and then "Done"
Step 2: Create and Download the Key
Find your service account in the list and click on it
Go to the "Keys" tab
Click "Add Key" > "Create New Key"
Choose "JSON" format
Click "Create" - this will download the JSON key file
Step 3: Add the Connection in Zenlytic
In Zenlytic, go to Settings > Data Sources
Click "Add Data Source"
Select "BigQuery" from the list
Enter a name for your connection
Upload the JSON key file you downloaded
Click "Test Connection" to verify it works
Click "Save"

Step 4: Configure Permissions
Make sure your service account has the necessary permissions:
BigQuery Admin or BigQuery Data Viewer role
Access to the datasets you want to query
If using a custom project, ensure the service account has access to that project
Step 5: Test Your Connection
Once connected, you can test by:
Going to the Explore section
Selecting your BigQuery connection
Browsing available datasets and tables
Running a simple query to verify everything works







Last updated
Was this helpful?