# Google Cloud Storage

To set up your Datastream with Google Cloud Services (GCS) from Chartbeat, GCS must be configured to receive the exported data.

Once you have configured GCS to receive data, send the below information back to your account manager at Chartbeat.

* Destination **bucket** **name**
* Service Account **HMAC key**

The following document summarizes how to set up the necessary GCS access.

## Create a GCS Bucket <a href="#create-a-gcs-bucket" id="create-a-gcs-bucket"></a>

Before a Datastream feed can be configured, Chartbeat needs a destination to send the data to. For this, you can [**create a GCS bucket**](https://cloud.google.com/storage/docs/creating-buckets) where Chartbeat will send data, or use an existing bucket.

## Create a Service Account <a href="#create-a-service-account" id="create-a-service-account"></a>

Chartbeat transfers data to GCS through credentials tied to a Service Account associated with the destination bucket’s Google Cloud Platform Project. [**Here are instructions**](https://cloud.google.com/iam/docs/creating-managing-service-accounts) to get started on creating and managing service accounts.

## Generate an HMAC Key <a href="#generate-an-hmac-key" id="generate-an-hmac-key"></a>

Chartbeat authenticates requests to Cloud Storage for your Service Account through hash-based message authentication code (HMAC) keys. This will be the credential you send to your Chartbeat account manager to set up your Datastream feed.

To create an HMAC key associated with your Service Account, following [**these instructions**](https://cloud.google.com/storage/docs/authentication/managing-hmackeys#create)**.**

## **BigQuery**

If relevant, review our guide to loading Datastream data from your Google Cloud Storage bucket [**into BigQuery here**](/datastream/getting-started/playbooks/bigquery.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chartbeat.com/datastream/destination-setup/google-cloud-storage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
