> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vapi.ai/llms.txt.
> For full documentation content, see https://docs.vapi.ai/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.vapi.ai/_mcp/server.

# GCP Cloud Storage

Your assistants can be configured to record chat conversations and upload
the recordings to a bucket in GCP Cloud Storage when the conversation ends.  You will
need to configure the credential and bucket settings in the "Cloud Providers"
section of the "Provider Credentials" page in the Vapi dashboard.

See these [instructions](https://cloud.google.com/iam/docs/keys-create-delete) for generating service account keys for GCP.

See these [instructions](https://cloud.google.com/storage/docs/authentication/hmackeys) for generating HMAC Keys for Cloud Storage.

## Credential Settings

| Setting                        | Description                                                                                                                                                                                                               |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Credential Reference Name      | The credential reference name                                                                                                                                                                                             |
| GCP Service Account Key (JSON) | The service account key in JSON format                                                                                                                                                                                    |
| Bucket Name                    | The name of the bucket to upload recordings to                                                                                                                                                                            |
| Bucket Region                  | The name of the region where the bucket is located                                                                                                                                                                        |
| Bucket Path Prefix             | An optional path prefix for recordings uploaded to the bucket. Supports [LiquidJS Date format](https://liquidjs.com/filters/date.html) templating - for example, `{{ "now" \| date: "%Y/%m/%d" }}` renders as YYYY/MM/DD. |
| HMAC Access Key                | The HMAC access key for the GCP Cloud Storage API (This is a string of 24 characters when linked to a user account or a string of 61 characters when linked to a service account.)                                        |
| HMAC Secret                    | The HMAC secret for the GCP Clodu Storage API (This is a 40-character base-64 encoded string.)                                                                                                                            |

## Example

<img src="https://files.buildwithfern.com/https://vapi.docs.buildwithfern.com/306121bb1e4bf7d9bcb265b85a59d15c0c1452e0abad86295f6ed124d2880b96/static/images/credentials/provider/cloud-provider-gcp-hmac.png" />