Destinations
Connect Google Cloud Storage as a destination
Create a service account and connect a Google Cloud Storage (GCS) bucket, so your pipeline writes append-only Parquet files to it.
Create a service account
Artie signs in to Google Cloud with a service account key. This Terraform script creates the service account, grants it two roles on your bucket and creates a key.
provider "google" {
project = "your-gcp-project-id"
region = "us-central1"
}
resource "google_service_account" "artie_transfer" {
account_id = "artie-transfer"
display_name = "Artie Transfer Service Account"
description = "Service account for Artie to write to GCS"
}
resource "google_storage_bucket_iam_member" "bucket_object_admin" {
bucket = "your-bucket-name"
role = "roles/storage.objectAdmin"
member = "serviceAccount:${google_service_account.artie_transfer.email}"
}
resource "google_storage_bucket_iam_member" "bucket_viewer" {
bucket = "your-bucket-name"
role = "roles/storage.bucketViewer"
member = "serviceAccount:${google_service_account.artie_transfer.email}"
}
resource "google_service_account_key" "artie_transfer_key" {
service_account_id = google_service_account.artie_transfer.name
}
output "service_account_email" {
value = google_service_account.artie_transfer.email
}
output "service_account_key" {
value = base64decode(google_service_account_key.artie_transfer_key.private_key)
sensitive = true
}Replace your-gcp-project-id with your Google Cloud project ID and both your-bucket-name values with your bucket. The service_account_key output is the JSON key you paste into Artie.
Add the destination in Artie
In a new pipeline, the setup checklist has a Destination section. Follow these steps there.
Choose the destination
On the Choose destination step, select Google Cloud Storage.
Prepare the service account
On the Prepare destination step, run the Terraform script, then select Continue. The step shows the same script as Create a service account.
Enter the settings
On the Connect and verify step, fill in the required settings.
Verify the destination
Select Verify destination. The step shows Destination verified.
Verify destination is available once the pipeline has tables. To check the destination later, select Verify later.
If you choose an existing Google Cloud Storage destination, setup skips Prepare destination. Connect and verify shows its connection details read-only, so you fill in only the bucket settings for this pipeline.
To change the bucket settings on an existing pipeline, open its Destination: Google Cloud Storage tab.
Required settings
Each field name matches its label in the Dashboard.
| Field | Value |
|---|---|
| GCP Project ID | Your Google Cloud project ID: 6 to 30 lowercase letters, digits and hyphens. It starts with a letter and ends with a letter or digit. |
| Service account JSON credentials | The service account’s JSON key. Its type must be service_account. |
| Bucket name | The bucket Artie writes to. |
Optional settings
These fields set where files land inside the bucket.
| Field | Default | Value |
|---|---|---|
| Folder name (optional) | None | A folder inside the bucket. Artie stores every file under it. |
| Table name separator | / | The text that joins the database, schema and table name in each file’s path. |
Bucket structure
Artie writes append-only Parquet files to your GCS bucket. The files use GZIP compression. Artie does not create a Delta transaction log.
Each file’s path follows this layout:
/BUCKET_NAME/[FOLDER_NAME/]TABLE_PATH/date=YYYY-MM-DD/UNIX_TIMESTAMP_MS_RANDOM.parquetArtie fills each part of the path as follows.
| Part | Value |
|---|---|
BUCKET_NAME | The value of Bucket name. |
FOLDER_NAME | The value of Folder name (optional). Artie leaves this part out when the field is empty. |
TABLE_PATH | The database, schema and table name, joined with the table name separator. With the default separator: gcs/SCHEMA/TABLE. |
date=YYYY-MM-DD | The date Artie writes the file. The date= prefix follows Hive’s partitioning format. |
UNIX_TIMESTAMP_MS | A Unix timestamp in milliseconds. |
RANDOM | 4 random letters or digits. |
GCS has no databases, so the database part of TABLE_PATH is always gcs. The schema part is the source table’s schema, or public when the source table has none.
The table part is the table’s name in lowercase. For a table outside the source’s default schema, Artie usually adds the schema to the name too: PostgreSQL’s sales.orders lands under gcs/sales/sales_orders.
For example, a pipeline with bucket artie and folder foo writes the orders table from the public schema to this path:
/artie/foo/gcs/public/orders/date=2026-08-21/1787322600000_abc1.parquetWas this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.