Skip to content

Commit

Permalink
Merge pull request #7380 from braze-inc/lydia-xie-patch-3
Browse files Browse the repository at this point in the history
BD-3118: Add permission for Google Cloud Storage
  • Loading branch information
internetisaiah authored May 21, 2024
2 parents 0a9bc40 + d31b80e commit 8cf3ced
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ This can be done using the following instructions, which will walk you through c

### Step 1: Create role

Create a new role in your Google Cloud Platform Console by navigating to **IAM & admin > Roles > + Create Role**.
Create a new role in your Google Cloud Platform Console by navigating to **IAM & admin** > **Roles** > **+ Create Role**.

![][2]

Next, give the role a name, click **+Add Permissions** and add `storage.buckets.get` and `storage.objects.create`, and click **Create**.
Next, give the role a name, select **+Add Permissions** and add the following: `storage.buckets.get`, `storage.objects.create`, and `storage.objects.get`. Then, select **Create**.

Optionally, add `storage.objects.delete` permissions to allow Braze to clean up incomplete files. In rare circumstances, Google Cloud may terminate connections early, resulting in Braze writing incomplete files to Google Cloud Storage. Under normal circumstances, Braze will retry and create a new file with the correct data, leaving the old file in Google Cloud Storage.

![][3]

### 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**.
Create a new service account in your Google Cloud Platform Console by navigating to **IAM & admin** > **Service Accounts** and selecting **Create Service Account**.

![][4]

Expand All @@ -59,7 +59,7 @@ At the bottom of the page, use the **Create Key** button to create a **JSON** pr

### 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.
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).

Expand Down

0 comments on commit 8cf3ced

Please sign in to comment.