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
- Create a new S3 bucket in your AWS account
- Ensure you:
- Block public access
- Configure an object lifecycle policy
2. Create an IAM Policy
- In AWS Console → Select IAM
- Select Policies
- Click Create Policy
- Choose JSON
- 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/*"
]
}
}
}
]
}
ImportantBoth the
exports/anddata/paths are required. Thedata/path is used for current exports, while theexports/path must be kept to support legacy unloads. If you have an existing policy with onlyexports/*, update it to includedata/*as shown above.
- Enter a policy name
- Click Create Policy
IAM Permissions Explained
| Permission | Details |
|---|---|
| s3:PutObject | Upload files to bucket |
| s3:GetObject | Retrieve objects |
| s3:GetObjectVersion | Access specific object versions |
| s3:ListBucket | List objects |
| s3:GetBucketLocation | Retrieve bucket region |
| s3:GetBucketAcl | View bucket ACL |
3. Create an IAM Role
- Go to IAM → Roles
- Select Create Role
- Choose AWS Account
- Keep This Account selected
- Enable Require external ID
- Enter placeholder
0000
- Attach the policy created above
- Name and create the role
- Open the role → verify the policy is attached
- 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.
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
ImportantBoth the
exports/anddata/paths are required inSTORAGE_ALLOWED_LOCATIONS. Thedata/path is used for current exports, whileexports/must be kept to support legacy unloads. If you have an existing integration with onlyexports/, 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_ARNSTORAGE_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
- Go to IAM → Users
- Select Create User
- Assign the IAM role created above
- Generate:
- Access key
- Secret access key
- Save credentials
Use these credentials in:
Set up external storage in GrowthLoop
Google Cloud Storage (GCS) Setup
1. Create GCS Bucket
- Create a new bucket
- Ensure:
- Block public access
- Configure a lifecycle policy / TTL
2. Create Service Account
Grant the following permissions:
| Permission | Details |
|---|---|
| storage.objects.list | List objects |
| storage.objects.create | Create objects |
| storage.objects.get | Retrieve objects |
| storage.buckets.get | View bucket metadata |
3. Create Credentials
- Go to IAM & Admin → Service Accounts
- Select your service account
- Click Keys → Add Key → Create New Key
- Select JSON
- 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.
NoteStorage 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
- Create a storage account in the Azure portal. See Microsoft's create a storage account guide.
- Open Containers in your storage account and create a container, for example,
growthloop-outgoing. You can choose another container name. - Keep the container private. See Microsoft's anonymous access settings.

- 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
- Open your storage account in the Azure portal.
- Select Access keys under Security + networking.
- Click Show keys and copy the Key value for one of the account keys. Copy the key itself, rather than the connection string.
- Record the storage account name and container name for the next step.

3. Connect the container in GrowthLoop
- Open the profile dropdown in the GrowthLoop header and select Organization.
- Open the Storage tab and select Microsoft Azure.
- Enter the required fields:
| Field | What to enter |
|---|---|
| Azure Blob Container | Your container name, for example, growthloop-outgoing. Enter the name only, without a URL or folder path. |
| Storage Account Name | Your Azure storage account name, without .blob.core.windows.net. |
| Storage Access Key | The account key you copied from Azure's Access keys page. |
- Click Save Bucket.

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
- Confirm that GrowthLoop saves the storage configuration without a validation error.
- Export an audience and review the run status on the audience's Exports tab.
- 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.
| Problem | Cause | Resolution |
|---|---|---|
| Container not found | The 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 fails | The 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 denied | Account 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
- Open the profile dropdown in the GrowthLoop header and select Organization.
- Navigate to the Storage tab.
- Select your bucket provider: AWS, Google Cloud, or Microsoft Azure.
- Enter the credentials from your provider's setup section.
- Click Save Bucket.
GrowthLoop will now use your secure bucket for staging data.
If you have questions, contact:
Updated 11 days ago
