Skip to main content

How To Set Up Google BigQuery: Creating and Configuring Service Accounts In Google Cloud Console

Openbridge Support avatar
Written by Openbridge Support
Updated yesterday

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

Before getting started, make sure:

  • βœ… You have a valid Google Cloud account and an active project

  • βœ… Billing is enabled for the project

  • βœ… You have permissions to:

    • Create service accounts (Service Account Admin)

    • Assign IAM roles (IAM Role Admin)

πŸš€ Step 1: Choose or Create Your Google Cloud Project

  1. In the top navigation bar, open the project selector.

  2. Select an existing project or click "New Project".

  3. Choose a meaningful name (e.g., openbridge-bigquery) and note the Project ID.

πŸ“‘ Step 2: Enable the BigQuery API

  1. Verify your project is selected in the Cloud Console.

  2. Open the API enablement link:
    πŸ‘‰ Enable BigQuery API

  3. Confirm and enable the API.

πŸ‘€ Step 3: Create a Service Account & Assign Permissions

  1. Select the Project you've created

  2. Click "Create Service Account".

  3. Enter the following:

  • Service Account Name: openbridge-bigquery-access

  • Service Account Id: openbridge-bigquery-access

  • Description: (optional)

  • Click Create and Continue.

πŸ” Assign Permissions (on the same screen)

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

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

  3. Click Continue, then Done.

πŸ”‘ Generate a Service Account Key

Now you are able to see the service account you've create for the selected project.

(You will find the service account at IAM & Admin > Service Accounts &
​Select the project)

  1. After service account creation, click the service account to open details.

  2. Go to the "Manage Keys" tab.

  3. Click β€œAdd Key” β†’ β€œCreate new key”.

  4. Select JSON and click Create.

  5. 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.

⚠️ Important: Do not commit this key to source control. Use Secret Manager or Vault to store it securely.

πŸ’³ Step 4: Confirm Billing Is Active

  1. Visit the Billing Console.

  2. Under "My Projects", confirm your project is linked to an active billing account.

  3. If needed, follow 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?