> For the complete documentation index, see [llms.txt](https://help.daasity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.daasity.com/technical-docs/warehouse/s3-extraction-export.md). Agents can also search and read this documentation through its [MCP server](https://help.daasity.com/~gitbook/mcp).

# S3 Extraction Export

Copy every file Daasity pulls from your sources into an Amazon S3 bucket you own, alongside the normal warehouse load.

Use S3 Extraction Export when your data team, a data lake, or a tool like Databricks, Athena or Glue needs the raw source files Daasity extracts.

### What you get

* Every extraction file, exactly as Daasity received it from the source, copied to your bucket on each run.
* Your warehouse load is unchanged. The copy runs separately, so a problem with your bucket or keys never fails or delays your warehouse load.
* Files land at `<bucket>/<main folder>/<PRD or DEV>/<schema>/<table>/loaddate=<yyyymmdd>/`. The `loaddate=` folder is Hive-style, so Databricks, Athena and Glue read it as a partition.

### Before you start

* S3 Extraction Export is an account add-on. Ask your Account Manager to turn it on.
* You need an S3 bucket, plus an AWS access key with `s3:PutObject` permission on the main folder.

### Step 1: Connect your bucket

Open **Settings → Platform → Warehouse** and scroll to the **S3 Extraction Export** card.

<figure><img src="https://410725593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamTMWiPne1v1V3L7mbuj%2Fuploads%2FuuUUoA9oT4r3YIEFAlII%2Fs3-warehouse-card.png?alt=media&amp;token=361a5ff9-83eb-478a-9134-4f0495e43acb" alt=""><figcaption></figcaption></figure>

| Field             | What to enter                                                               |
| ----------------- | --------------------------------------------------------------------------- |
| Bucket            | Your bucket name only, without `s3://`.                                     |
| Region            | The AWS region the bucket was created in. Defaults to us-east-1.            |
| Main folder       | The top-level folder in the bucket. Defaults to `warehouse`.                |
| Prod folder       | The folder inside the main folder for production files. Defaults to `PRD`.  |
| Dev folder        | The folder inside the main folder for development files. Defaults to `DEV`. |
| Access key ID     | An AWS key with `s3:PutObject` on the main folder.                          |
| Secret access key | Stored encrypted and never shown again after saving.                        |

Click **Test connection** to check the bucket and keys before you save. Daasity writes a small test file to both folders and removes it again, and shows the result without saving anything. Then click **Save**.

### Step 2: Choose which integrations copy to S3

Open an integration, click **Edit**, and scroll to the **Load Method** card.

<figure><img src="https://410725593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FamTMWiPne1v1V3L7mbuj%2Fuploads%2FDLAeKXoKHJT1Z8Uovi5d%2Fs3-load-method.png?alt=media&amp;token=fe963cb6-1103-4388-9133-885c6d6d1e07" alt=""><figcaption></figcaption></figure>

* **Load data to:** choose **DB and S3** to copy this integration's files to your bucket. **DB only** keeps loading to your warehouse alone.
* **S3 folder:** choose **Prod** or **Dev**. This only applies when loading to DB and S3.

The Load Method card saves as soon as you change it, separately from the rest of the page. If no bucket is saved yet, the card says so, and nothing is copied until one is.

The Load Method card doesn't appear on warehouse connections or on integrations with their own setup flow, such as Google Sheets.

### What's in the bucket

Raw extraction files, so their shape matches the source's API rather than Daasity's unified schemas. For modeled data, use your warehouse.
