All Collections
Data Destinations
Data Warehouses
How To Set Up Google BigQuery: Creating and Configuring Service Accounts In Google Cloud Console
How To Set Up Google BigQuery: Creating and Configuring Service Accounts In Google Cloud Console
Openbridge Support avatar
Written by Openbridge Support
Updated over a week ago

Google BigQuery is a powerful enterprise data warehouse that allows you to run super-fast SQL queries using Google's infrastructure.

Openbridge supports data delivery to BigQuery warehouse destinations, and if you're new to BigQuery, you can start with their free tier to get started with your data analysis.

This step-by-step guide will walk you through the process of setting up BigQuery within Openbridge, focusing on creating and configuring Service Accounts in the Google Cloud Console. No prior experience is required, and we'll make it easy for you!

Prerequisites

  1. 1A valid Google Cloud Platform (GCP) account.

  2. Google Cloud billing is enabled, and current

  3. Proper permissions to create service accounts and assign roles in the Google Cloud IAM & Admin console.

Step 1: Choose your Google Cloud Project

1. Sign in to your Google account.

3. If prompted, select or create a new project from the project drop-down menu in the top navigation bar. This project will be used for your BigQuery setup.

Step 2: Enable the BigQuery API

1. Ensure you have selected the correct project from the project drop-down menu in the top navigation bar.

2. To enable the BigQuery API, click on the following link: Enable BigQuery API.

Step 3: Create a Service Account

  1. Make sure you are logged in to your Google Cloud Console project.

  2. In the navigation menu, click "IAM & admin" and select "Service Accounts."

  3. Click the "Create Service Account" button to set up a new Service Account.

  4. Enter a unique name for your Service Account (e.g., "Openbridge-BigQuery-Access").

  5. Select "JSON" as the Key type from the dropdown menu.

  6. Click "Create" to create the Service Account.

  7. A JSON file containing credentials for the Service Account will be downloaded to your computer. Keep this file secure, as it grants access to your BigQuery resources.

Step 4: Granting Permissions to Your Service Account

  1. In the Google Cloud Console, by clicking on the hamburger menu (☰) navigate to "IAM & admin" and click "IAM" from the left menu.

  2. Click on the "ADD" button to grant permissions to your Service Account.

  3. Paste the Service Account ID you saved earlier into the "New members" field.

  4. In the "Role" field, select "BigQuery Admin" from the dropdown menu.

  5. Additionally, ensure the "Project Browser" role is also selected to avoid errors.

  6. Click "Save" to grant the necessary permissions to your Service Account.

Step 5: Check Google Cloud Billing

  1. Go to "Billing" in the Google Cloud Console by clicking on the hamburger menu (☰) in the top-left corner, then selecting "Billing" from the menu.

  2. Ensure that billing is active and configured for your project. If it's not, follow the prompts to enable billing.

Congratulations! You have successfully configured your Service Account to access BigQuery. You are ready to use BigQuery with Openbridge and seamlessly analyze your data. Happy querying!

Did this answer your question?