Overview
Unlike advertising platform connectors that format data for specific destinations, the S3 Connector delivers your data as files in your chosen format. This makes it ideal for:- Custom downstream processing
- Integration with data warehouses
- Backup and archival
- Feeding other systems that consume files from S3
Guides
Setting Up the Amazon S3 Connector
Install the connector and configure bucket access
Setting Up API Access for Amazon S3
Prerequisites, API keys, and profiles for the API guides
Delivering Files to Amazon S3 via the API
Deliver dataset files to your bucket with an API key
Requirements
AWS configuration
Supported formats
The connector can deliver data in multiple file formats:- CSV
- JSON
- Parquet
Delivery options
Sort columns alphabetically
For CSV deliveries, the S3 Connector can either sort columns alphabetically or preserve the delivering dataset’s schema column order. Toggle Sort columns alphabetically on the dataset connection form to switch between the two:- Enabled (default) — Columns in delivered CSV files are sorted alphabetically by name.
- Disabled — Columns follow the order defined by the dataset schema.
Managed S3 buckets
If you don’t have an existing S3 bucket, Narrative can provision a managed bucket for you. Contact your Narrative representative to set up a managed S3 destination. A managed bucket also works in the other direction, as a place to send files into Narrative. See Ingesting Files from a Managed S3 Bucket.API connection settings
A connection’squick_settings set where and how the connection writes files. The S3 Connector has one interface, delivery. The file format, compression, and CSV options come from the profile.
Existing and new rows
A connection delivers every snapshot written to the dataset after the connection is created. Thehistorical_data_enabled quick setting decides whether the connection also delivers data that was already in the dataset when you created it:
- With
historical_data_enabledset totrue, the connection first delivers data already in the dataset, then keeps delivering new snapshots as they land. - With
historical_data_enabledset tofalse, the connection delivers only snapshots written after it was created.
historical_data_enabled delivers the dataset’s snapshots from the last historical_period_seconds before the connection was created. After that, each new snapshot is delivered as it lands.
Each source file in a snapshot becomes one object in the bucket, under <bucket_prefix>/snapshotId=<snapshot ID>/. A delivery only adds objects. When you overwrite the dataset, the new snapshot lands in a new folder and the earlier folders stay in the bucket.
Related content
Data Activation Overview
Understand how connectors deliver data
Structuring Audiences
Organize datasets for delivery

