Skip to main content

GCS

This page guides you through the process of setting up the GCS source connector. This connector supports loading multiple CSV files (non compressed) from a GCS directory. The conntector will check for all files ending in .csv, even nested files.

info

Cloud storage may incur egress costs. Egress refers to data that is transferred out of the cloud storage system, such as when you download files or access them from a different location. For more information, see the Google Cloud Storage pricing guide.

Prerequisites

  • JSON credentials for the service account that has access to GCS. For more details check instructions
  • GCS bucket
  • Path to file(s)

Set up Source

Create a Service Account

First, you need to select existing or create a new project in the Google Cloud Console:

  1. Sign in to the Google Account.
  2. Go to the Service Accounts page.
  3. Click Create service account.
  4. Create a JSON key file for the service user. The contents of this file will be provided as the service_account in the UI.

Grant permisison to GCS

Use the service account ID from above, grant read access to your target bucket. Click here for more details.

Set up the source in Airbyte UI

  • Paste the service account JSON key to service_account
  • Enter your GCS bucket name to gcs_bucket
  • Enter path to your file(s) to gcs_path

Changelog

VersionDatePull RequestSubject
0.3.32023-12-0633187Bump CDK version to hide source-defined primary key
0.3.22023-11-1632608Improve document file type parser
0.3.12023-11-1332357Improve spec schema
0.3.02023-10-1131212Migrated to file based CDK
0.2.02023-06-2627725License Update: Elv2
0.1.02023-02-1623186New Source: GCS