Bucket and User Setup
To connect AWS S3 to Triple Whale, you’ll need to create an S3 bucket, configure an IAM user, and assign appropriate permissions.
Step 1: Create an S3 Bucket
- Open the AWS Console and navigate to S3.
- Click Create bucket.
- Enter a Bucket name (e.g.,
triplewhale-data
). - Configure additional settings as needed.
- Click Create bucket to finalize.
Step 2: Create an IAM User
- Open the AWS Console and navigate to IAM.
- In the left-hand menu, click Users.
- Click Create user.
- Enter a User name (e.g.,
triplewhale-s3-user
). - Click Next to proceed.
Step 3: Create a Custom IAM Policy
-
On the Permissions page, click Attach policies directly and then Create policy.
-
Select the JSON tab and replace the content with the following, updating
<your-bucket-name>
:{ "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": ["s3:PutObject", "s3:GetObject", "s3:ListBucket"], "Resource": [ "arn:aws:s3:::<your-bucket-name>", "arn:aws:s3:::<your-bucket-name>/*" ] } ] }
-
Click Next, enter a Policy name (e.g.,
TripleWhaleS3Policy
), and click Create policy.
Step 4: Attach the Policy to the IAM User
- Return to the IAM User creation page.
- Click the Refresh button next to the policy list.
- Search for the newly created policy (e.g.,
TripleWhaleS3Policy
) and select its checkbox. - Click Next and then Create user.
Step 5: Generate and Download Access Keys
- Go to IAM → Users.
- Click on the newly created user (e.g.,
triplewhale-s3-user
). - Navigate to the Security credentials tab.
- Scroll to the Access keys section and click Create access key.
- Select Third-party service as the use case.
- Confirm and click Create.
- Click Download .csv file to save the credentials securely.
Step 6: Identify the AWS Region
- Look at the AWS Console URL (e.g.,
https://<region>.console.aws.amazon.com
). - The
<region>
in the URL indicates your AWS region (e.g.,us-east-1
,eu-west-1
).
Connecting to Triple Whale
Once you’ve set up your S3 bucket and IAM user, connect it to Triple Whale:
- Go to your Triple Whale Integration page.
- Click Connect on the S3 integration.
- Enter the following details:
- Region: Found in Step 6.
- Bucket Name: Enter the bucket name created in Step 1 (e.g.,
triplewhale-data
). - Access Key ID: Found in the
.csv
file from Step 5. - Access Key Secret: Found in the
.csv
file from Step 5.
- Click Save.