Export storage: Bring your own bucket

Use your own Amazon S3, Google Cloud Storage, or Azure Blob Storage for export staging.

The GrowthLoop platform stores some data in storage buckets to route data to marketing platforms or power other features like debug logs.

Your team can choose to use either:

  • A GrowthLoop-managed storage bucket, or
  • Your own bucket (Bring Your Own Bucket, or BYOB)

What data is stored?

GrowthLoop temporarily stages audience or segment membership data in a staging storage bucket to allow our export service to sync members to marketing platforms.

After routing:

  • The data is deleted
  • Buckets have a TTL of 7 days

Bring your own bucket (BYOB)

You can stage export data in private storage managed in your own infrastructure.

Currently supported:

  • Amazon S3 (AWS)
  • Google Cloud Storage (GCS)
  • Microsoft Azure Blob Storage

Amazon S3 Setup

1. Create a New S3 Bucket


2. Create an IAM Policy

  1. In AWS Console → Select IAM
  2. Select Policies
  3. Click Create Policy
  4. Choose JSON
  5. Paste the following policy (replace <bucket> with your bucket name):
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:GetObjectVersion"
      ],
      "Resource": [
        "arn:aws:s3:::<bucket>/exports/*",
        "arn:aws:s3:::<bucket>/data/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:GetBucketLocation",
        "s3:GetBucketAcl"
      ],
      "Resource": "arn:aws:s3:::<bucket>"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket"
      ],
      "Resource": "arn:aws:s3:::<bucket>",
      "Condition": {
        "StringLike": {
          "s3:prefix": [
            "exports/*",
            "data/*"
          ]
        }
      }
    }
  ]
}
❗️

Important

Both the exports/ and data/ paths are required. The data/ path is used for current exports, while the exports/ path must be kept to support legacy unloads. If you have an existing policy with only exports/*, update it to include data/* as shown above.

  1. Enter a policy name
  2. Click Create Policy

IAM Permissions Explained

PermissionDetails
s3:PutObjectUpload files to bucket
s3:GetObjectRetrieve objects
s3:GetObjectVersionAccess specific object versions
s3:ListBucketList objects
s3:GetBucketLocationRetrieve bucket region
s3:GetBucketAclView bucket ACL

3. Create an IAM Role

  1. Go to IAM → Roles
  2. Select Create Role
  3. Choose AWS Account
    • Keep This Account selected
    • Enable Require external ID
    • Enter placeholder 0000
  4. Attach the policy created above
  5. Name and create the role
  6. Open the role → verify the policy is attached
  7. Edit the Trust Relationship

Replace the trust policy with:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "",
      "Effect": "Allow",
      "Principal": {
        "AWS": "arn:aws:iam::667705482227:user/growthloop-exports"
      },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": {
          "sts:ExternalId": "Gr0wthloop4RtG8-2"
        }
      }
    }
  ]
}

Record the Role ARN from the role summary page.

📘

Please provide the role ARN and bucket ARN to your GrowthLoop Solutions Architect.


Additional steps for Snowflake with Amazon S3

Complete these steps only if you use Snowflake with an Amazon S3 staging bucket. For Azure Blob Storage, follow Azure storage setup.

1. Create Storage Integration in Snowflake

USE ROLE ACCOUNTADMIN;

CREATE STORAGE INTEGRATION FLYWHEEL_APP_AWS
  TYPE = EXTERNAL_STAGE
  STORAGE_PROVIDER = 'S3'
  ENABLED = TRUE
  STORAGE_AWS_ROLE_ARN = '<iam_role>'
  STORAGE_ALLOWED_LOCATIONS = ('s3://<bucket>/exports/', 's3://<bucket>/data/');

GRANT USAGE ON INTEGRATION FLYWHEEL_APP_AWS TO ROLE <growthloop_role>;

Where:

  • <iam_role> = ARN of IAM role created above
  • <bucket> = S3 bucket name
  • <growthloop_role> = Role used by GrowthLoop Snowflake service account
❗️

Important

Both the exports/ and data/ paths are required in STORAGE_ALLOWED_LOCATIONS. The data/ path is used for current exports, while exports/ must be kept to support legacy unloads. If you have an existing integration with only exports/, update it with:

ALTER STORAGE INTEGRATION FLYWHEEL_APP_AWS
  SET STORAGE_ALLOWED_LOCATIONS = ('s3://<bucket>/exports/', 's3://<bucket>/data/');

2. Create External Stage

USE ROLE ACCOUNTADMIN;

CREATE OR REPLACE STAGE flywheel_external_stage
  URL = 's3://<bucket>/exports/<org_id>/'
  STORAGE_INTEGRATION = FLYWHEEL_APP_AWS;

GRANT OWNERSHIP ON INTEGRATION FLYWHEEL_APP_AWS TO ROLE <growthloop_role>;

Note: The Storage Integration must be created in the FLYWHEEL_SYSTEM schema.

Where:

  • <org_id> — provided by your GrowthLoop Solutions Architect

3. Retrieve Snowflake IAM User

DESC INTEGRATION GROWTHLOOP_APP_AWS;

Record:

  • STORAGE_AWS_IAM_USER_ARN
  • STORAGE_AWS_EXTERNAL_ID

4. Update AWS Trust Policy for Snowflake

Edit the IAM Role trust relationship and add:

{
  "Sid": "",
  "Effect": "Allow",
  "Principal": {
    "AWS": "<snowflake_user_arn>"
  },
  "Action": "sts:AssumeRole",
  "Condition": {
    "StringEquals": {
      "sts:ExternalId": "<snowflake_external_id>"
    }
  }
}

Where:

  • <snowflake_user_arn> = STORAGE_AWS_IAM_USER_ARN
  • <snowflake_external_id> = STORAGE_AWS_EXTERNAL_ID

5. Create IAM User for GrowthLoop

  1. Go to IAM → Users
  2. Select Create User
  3. Assign the IAM role created above
  4. Generate:
    • Access key
    • Secret access key
  5. Save credentials

Use these credentials in:

Set up external storage in GrowthLoop


Google Cloud Storage (GCS) Setup

1. Create GCS Bucket


2. Create Service Account

Grant the following permissions:

PermissionDetails
storage.objects.listList objects
storage.objects.createCreate objects
storage.objects.getRetrieve objects
storage.buckets.getView bucket metadata

3. Create Credentials

  1. Go to IAM & Admin → Service Accounts
  2. Select your service account
  3. Click Keys → Add Key → Create New Key
  4. Select JSON
  5. Download and save as credentials.json

You will use this file in:

Set up external storage in GrowthLoop


Azure storage setup

Use an Azure Blob Storage container as your private staging storage for GrowthLoop exports. You configure BYOB in your organization's Storage tab.

Prerequisites

Make sure you have:

  • Permission to create an Azure storage account and container, and to view the storage account's access keys.
  • A storage account that permits Shared Key authorization under your organization's security policy. GrowthLoop's Azure BYOB setup uses a storage account access key.
  • Network rules that allow GrowthLoop to reach your storage account. If your account restricts network access, coordinate the configuration with your GrowthLoop Solutions Architect.
📘

Note

Storage account access keys grant access to all data in the storage account. Use a dedicated storage account for GrowthLoop staging and enter the key only in the GrowthLoop storage form. See Microsoft's access key guidance.

1. Create a storage account and container

  1. Create a storage account in the Azure portal. See Microsoft's create a storage account guide.
  2. Open Containers in your storage account and create a container, for example, growthloop-outgoing. You can choose another container name.
  3. Keep the container private. See Microsoft's anonymous access settings.
Azure storage account with a container for GrowthLoop export staging
  1. Configure a lifecycle policy to delete staged blobs after 7 days. Review soft delete, versioning, and snapshot retention with your Azure administrator because these settings can retain data after a blob is deleted.

2. Copy the storage account access key

  1. Open your storage account in the Azure portal.
  2. Select Access keys under Security + networking.
  3. Click Show keys and copy the Key value for one of the account keys. Copy the key itself, rather than the connection string.
  4. Record the storage account name and container name for the next step.
Azure storage account Access keys page

3. Connect the container in GrowthLoop

  1. Open the profile dropdown in the GrowthLoop header and select Organization.
  2. Open the Storage tab and select Microsoft Azure.
  3. Enter the required fields:
FieldWhat to enter
Azure Blob ContainerYour container name, for example, growthloop-outgoing. Enter the name only, without a URL or folder path.
Storage Account NameYour Azure storage account name, without .blob.core.windows.net.
Storage Access KeyThe account key you copied from Azure's Access keys page.
  1. Click Save Bucket.
GrowthLoop organization Storage tab with Microsoft Azure selected

GrowthLoop validates the container and credentials before saving. Validation checks the container and writes and reads a small test blob, then attempts to delete it.

4. Verify the setup

  1. Confirm that GrowthLoop saves the storage configuration without a validation error.
  2. Export an audience and review the run status on the audience's Exports tab.
  3. Confirm that the export completes and the audience reaches your selected destination.

Congrats on setting up Azure Blob Storage for your GrowthLoop exports!

Troubleshooting Azure storage

These are the issues we see most often. You can always email us at [email protected] for help.

ProblemCauseResolution
Container not foundThe container name or storage account name is incorrect, or the container does not exist.Confirm that the container exists in the named storage account. Enter names only, without URLs or folder paths.
Authentication failsThe key is incorrect, belongs to another account, or has been rotated.Copy a current account key from the same storage account and update Storage Access Key in GrowthLoop.
Access is deniedAccount policy or network rules prevent GrowthLoop from accessing the container.Ask your Azure administrator to confirm that the account permits Shared Key authorization and that network rules allow GrowthLoop access. Coordinate with your GrowthLoop Solutions Architect if your security policy prevents this setup.

Set up external storage in GrowthLoop

  1. Open the profile dropdown in the GrowthLoop header and select Organization.
  2. Navigate to the Storage tab.
  3. Select your bucket provider: AWS, Google Cloud, or Microsoft Azure.
  4. Enter the credentials from your provider's setup section.
  5. Click Save Bucket.

GrowthLoop will now use your secure bucket for staging data.


If you have questions, contact:

[email protected]


What’s Next

Export an audience after you configure your storage

Did this page help you?