> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Configure Amazon S3 as a target

> Learn how to configure a custom meter to use an Amazon S3 bucket as the target data store.

Learn how to configure a custom meter to use an Amazon S3 bucket as the target data store.

Navigate to **Mediation** > **Meters**

Create a **Custom** meter.

Select **Amazon S3** as the target. The Amazon S3 settings page is displayed.

![Amazon S3 target settings](/_fern-img/b815ff2447a4fcc6212317f8777b702698d3b43b86fc7bd52e04469ef7732d2c.webp)

Under the **Amazon S3 Settings** section, configure the following:

<table>
  <tr>
    <th>
      Setting
    </th>

    <th>
      Configuration
    </th>
  </tr>

  <tr>
    <td>
      **Connection**
    </td>

    <td>
      Select **S3** from the **Connection** drop-down list which includes the S3 bucket, credentials, and base path. To set up a connection, see [Create AWS S3 connections in meters](/docs/platform/extensibility/mediation/manage-connections-in-meters/create-aws-s3-connections-in-meters).
    </td>
  </tr>

  <tr>
    <td>
      **Folder**
    </td>

    <td>
      Add the path to the main folder in the **Folder** field where you want to read data from Amazon S3. Note that when you add a folder to read data also grants read access to all the subfolders and files under the main folder.
    </td>
  </tr>

  <tr>
    <td>
      **File Format**
    </td>

    <td>
      Click the **File Format** drop-down list to select a file format. Note that all of the files in the folder you chose must be in the same format, or the ingestion of a file in a different format will fail.
    </td>
  </tr>

  <tr>
    <td>
      **Advanced Settings**
    </td>

    <td>
      Select the values for excluded fields, rolling file size, and partition by fields.

      * **Fields Excluded** - Allows you select the fields to be excluded from the export file.
      * **Rolling File Size** - Allows you to specify the export file size. The export file size cannot exceed this limit
      * **Partition By** - Allows you to set the partition for the export data file into different folder groups by selecting one or more fields. When you select multiple fields, the first selected field is set as the first level folder, the second selected field as the second level folder and so on.
    </td>
  </tr>
</table>

Click **Save** to save the Amazon S3 target settings.