Segment

The Segment connector can sync data via AWS s3. To integrate Segment with Weld via Amazon S3, you'll first need to export your event data from Segment to an S3 bucket. Once your data is in S3, you can then connect Weld to this bucket to access and analyze your event data.

πŸ”§ Setup Guide Segment

Step 1: Export Events from Segment to Amazon S3

Segment allows you to export raw event data to your Amazon S3 bucket, enabling centralized storage and further processing. Here's how you can set this up:

Create an S3 Bucket: Log in to your AWS Management Console and create a new S3 bucket in your preferred region to store the Segment data.

Configure Bucket Policy: To allow Segment to write data to your bucket, you'll need to update the bucket policy. Add a policy that grants Segment's IAM user s3:PutObject permissions for the specific folder (e.g., segment-logs/*) in your bucket. Ensure the policy includes the correct ARN for Segment's IAM user and your bucket.

Enable the Amazon S3 Destination in Segment: In your Segment workspace, navigate to the Destinations catalog and add the Amazon S3 destination. During configuration, provide your bucket name and specify the path where Segment should store the logs (e.g., segment-logs/). Once set up, Segment will begin exporting data to your S3 bucket, typically on an hourly basis.

For detailed instructions and policy examples, refer to Segment's official documentation: https://segment.com/docs/connections/storage/catalog/amazon-s3/

πŸ”§ Setup Guide Weld AWS S3 connector

Step 2: Follow the Weld AWS S3 guide: https://weld.app/docs/files/aws-s3

Was this page helpful?