9.4. Google BigQuery Setup and Service Account Key Creation
Last updated
Last updated
Welcome to our GitBook on setting up Google BigQuery and creating a service account key. This guide is designed to help you get started with BigQuery, Google's fully-managed, petabyte-scale, and cost-effective cloud data warehouse that lets you run super-fast SQL-like queries on your data.
The guide is organized into several sections. Each section contains a specific step in the process of setting up BigQuery and creating a service account key.
Introduction to Google BigQuery
Setting Up Google BigQuery
Creating a Google Cloud Service Account Key
Google BigQuery is a web service from Google that is used for handling and analyzing big data. It's part of the Google Cloud Platform. BigQuery works with Google's infrastructure, allowing you to execute SQL-like queries on multiple datasets. Its primary features include a columnar storage, data compression, and built-in machine learning capabilities.
Navigate to .
If you haven't already, sign in to your Google account. If you don't have one, you'll need to create a Google Account.
Once logged in, you'll need to create a new Project.
Click on the project drop-down and select New Project
.
In the new window, give your project a name, then click Create
.
After your project is created, you need to enable the BigQuery API.
In the Google Cloud Console, go to the APIs & Services
-> Library
.
In the Library
, search for BigQuery API
and click on the result.
In the BigQuery API page, click Enable
to enable the API for your project.
In the Google Cloud Console, go to IAM & Admin
-> Service Accounts
.
Click Create Service Account
.
In the Service account name
field, enter a name. The Google Cloud Console fills in the Service account ID
field based on this name.
In the Service account description
field, enter a description.
Click Create
.
On the Service account permissions
page, select the Role
drop-down list.
In the role list, select BigQuery
-> BigQuery Admin
to grant full access to BigQuery resources.
Click Continue
.
On the Grant users access to this service account
page, click Create Key
.
In the Create key
pane, select the JSON
key type.
Click Create
. A JSON key file is downloaded to your system.
Note: Securely store the JSON key file. If someone obtains your key file, they could use it to access and consume your BigQuery resources.
In the setup form, you will be asked to provide your JSON key.
Open the JSON key file you downloaded from the Google Cloud Console in a text editor. Copy all of its content.
In the next field, labeled 'Dataset ID', enter the specific Dataset ID that you want to use.
Paste the copied content in the Service Account Key
field in AI2SQL.
Click Add Connector
.