Skip to content
GUIDE

Using Google BigQuery with Coco Alemana

Learn the basics of Coco Alemana through video tutorials and written

Google BigQuery is one of the remote sources that Coco Alemana supports natively. You can read data from existing tables, as well as save data to new tables entirely, without using the GCP Console. All of the actions within Coco Alemana also apply to BigQuery tables.

You’ll need access to your GCP credentials, or a Google account with access to Google BigQuery.

We assume you have the appropriate permissions to:

  1. Query BigQuery
  2. List GCP Projects

To provide your credentials to Coco Alemana, open the External Accounts... pane, under the top-level Coco Alemana menu.

External accounts button in the menu

Press the “Add Account…” button, or the plus button on the bottom-left hand side of the window.

Select the “Google” option.

External accounts button in the menu

Provide your credentials through one of the many options available.

Connect GCP Credentials

For long-term use, you should use “Service Account” key (JWT) credentials. This prevents you from having to re-login to Google periodically. Google enforces a maximum session duration with the “Sign in with Google” option. Please see more details on Service Accounts from Google.

Once your credentials are configured, you’re able to load data from BigQuery. To start, you can create a new source via ⌘ N, and select “BigQuery”.

Open a New Source

See your available databases and select a table you’d like to import. You can also search for a table in your database.

Choose BigQuery Table

You can modify BigQuery frames with the same actions as any other frame. The SQL used in Coco Alemana will translate into BigQuery SQL on your behalf. This means you can work with a massive table without downloading it.

You export data to BigQuery just like any other frame. You can also export a BigQuery frame to a local file. This process will take slightly longer, as it requires downloading everything onto your device.