> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dockiln.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Saving to Google Cloud Storage

> Configure a customer-owned Google Cloud Storage bucket as a workspace destination in DocKiln 1.1.

## Connect a customer bucket

In the 1.1 review build, customer bucket delivery uses credentials configured by your workspace. The operator's `GCS_BUCKET` setting controls default application storage separately.

1. Choose a private bucket and a dedicated Google service account. Grant object creation and reading on the intended destination. Overwriting existing objects or removing expired output also requires object deletion permission.
2. In **Settings → Object storage delivery**, select Google Cloud Storage. Enter the bucket, project ID, service account email (`client_email` in a Google key file) and RSA PEM private key (`private_key`). Supply the key with its line breaks. Keep the original key file in your secret store.
3. Optionally enter a prefix such as `reports/` and save. The [settings API](https://docs.dockiln.io/api-reference/configure-encrypted-s3-destination.md) accepts `provider: "gcs"`, `bucket`, `prefix`, `projectId`, `clientEmail` and `privateKey`. The private key is encrypted and omitted when you read the setting.

## Verify delivery

Post the following to [document generation](https://docs.dockiln.io/api-reference/queue-generation.md).

```json theme={null}
{
  "html": "<h1>Monthly report</h1><p>Sample export to Cloud Storage.</p>",
  "delivery": "object"
}
```

Poll until the job completes. With the prefix above, look for `reports/<workspace-id>/<job-id>.pdf`. Download through DocKiln or request an [expiring link](https://docs.dockiln.io/api-reference/sign-private-s3-download-for-five-minutes.md). If writing succeeds but the link cannot read the object, inspect the signing account's object-read permission. Keep public access prevention enabled for private documents.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.