Google Cloud Storage
Google Cloud Storage is massively scalable object storage for unstructured data offered by Google as part of the Cloud Computing product suite.
The Braze and Google Cloud Storage integration allows you to stream Currents data to Google Cloud Storage. You can later use an ETL process (Extract, Transform, Load) to transfer your data to other locations, such as Google Bigquery.
Prerequisites
Requirement | Description |
---|---|
Google Cloud Storage account | A Google Cloud Storage account is required to take advantage of this partnership. |
Currents | In order to export data back into Google Cloud Storage, you need to have Braze Currents set up for your account. |
Integration
To integrate with Google Cloud Storage, you must set up the appropriate credentials that allow Braze to get information about the storage buckets being written to (storage.buckets.get
) and create objects within that bucket (storage.objects.create
).
This can be done using the following instructions, which will walk you through creating a role and service account that will generate a private key to use in your Currents integration.
Step 1: Create role
Create a new role in your Google Cloud Platform Console by navigating to IAM & admin > Roles > + Create Role.
Next, give the role a name, click +Add Permissions and add storage.buckets.get
and storage.objects.create
, and click Create.
Step 2: Create a service account
Create a new service account in your Google Cloud Platform Console by navigating to IAM & admin > Service Accounts and selecting Create Service Account.
Next, give the service account a name and grant it access to your newly created custom role.
Create a key
At the bottom of the page, use the Create Key button to create a JSON private key to use in Braze. Once created, this key will download onto your machine.
Step 3: Set up Currents in Braze
In Braze, navigate to Currents > + Create Current > Google Cloud Storage Data Export and provide your integration name and contact email.
Next, upload your JSON private key under GCS JSON Credentials and provide your CGS bucket name and GCS prefix (optional).
It’s important to keep your credentials file up to date; if your connector’s credentials expire, the connector will stop sending events. If this persists for more than 48 hours, the connector’s events will be dropped, and data will be permanently lost.
Finally, scroll to the bottom of the page and select which message engagement events or customer behavior events you would like to export. Once completed, launch your Current.