---
schema_version: "1"
id: 634b00192fa70e83654c93a339265bc626b2b1c93c3baed153c80bc0813bc9ae
title: Set Up an Amazon Simple Storage Service File Location
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_overview_set_up_amazon_s3_location.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_overview_set_up_amazon_s3_location.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f6d94de1d03eb849d73344dce34cf2196772a56f33f610dc5afd4026788e577f
description: Import and export files with Amazon Simple Storage Service (S3). Transferring files from Amazon S3 is faster than transferring them from the Enhanced FTP server that’s built in to Marketing Cloud Engagement. You can fine-tune access to buckets and folders, and manage data access with an AWS Access Key or IAM role.
products:
  - Marketing
  - Marketing Cloud Engagement
release: "264"
---
# Set Up an Amazon Simple Storage Service File Location

Import and export files with Amazon Simple Storage Service (S3). Transferring files from Amazon S3 is faster than transferring them from the Enhanced FTP server that’s built in to Marketing Cloud Engagement. You can fine-tune access to buckets and folders, and manage data access with an AWS Access Key or IAM role.

To complete this task, you must have administrative permissions to view and manage file locations.

1. From Marketing Cloud Engagement Setup, in the Quick Find box, enter file, and then select **File Locations**.
2. Click **Create**.
3. Complete the information in the Properties section.
    1. For **Name**, enter a unique name that’s recognizable when creating an activity in Marketing Cloud Engagement.
    2. For **External Key**, enter a unique key that identifies the file location when using the API.
    3. For **Description**, enter details that help identify the file location when creating an activity in Marketing Cloud Engagement.
4. For the location type, select **Amazon Simple Storage Service**.
5. Complete the location information.
    1. For **Authorization Type**, specify the authorization method used to grant Marketing Cloud Engagement access to the site. Choose either **Access Key** or **Access Key with IAM Role**.
    2. For **AWS Bucket Name**, enter the name of your S3 bucket. To speed up large and time-sensitive file transfers, select **Accelerate endpoint enabled in AWS.**.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_marketing_cloud_overview-264-0-0-production-enus/2555afdb-8049-4e3c-8043-0e04803e5f16/images/icon_note.png)
        
        Note Separate the relative path from the bucket name. Don't use forward or back slashes in the name.
    3. For **AWS Relative Path**, enter the relative location inside the bucket. Don't use a leading or trailing forward slash ("/") in your path.
    4. For **Access Key ID**, enter the AWS Access Key ID for authorization.
    5. For **Secret Access Key**, enter the AWS Secret Access Key for authorization.
    6. For **Role ARN**, specify the Amazon Resource Name (ARN) for the role that corresponds to this location, such as arn:aws:iam::123456789012:role/Role\_Name.
    7. If you specify **Access Key with IAM role**, ensure that your Maximum Session Duration is set to 12 hours on the IAM Console.
    8. For **Region Name**, specify the AWS region where the S3 bucket is located, such as US-West (Oregon).
6. Save the file location.
7. In AWS, grant the appropriate permissions for the user or role.
    1. To import data from Amazon S3, grant the **s3:ListBucket**, **s3:GetObject**, and **s3:ListMultipartUploadParts** permissions.
    2. To export data to Amazon S3, grant the **s3:ListBucket** and **s3:PutObject** permissions.

![Sample AWS Policy](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-mc_marketing_cloud_overview-264-0-0-production-enus/2555afdb-8049-4e3c-8043-0e04803e5f16/images/icon_example.png)

Sample AWS Policy

This code sample shows an AWS Identity and Access Management (IAM) policy that allows a user or role to export data to and import data from Amazon S3.

```
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::northerntrail"
            ]
        },
        {
            "Sid": "VisualEditor1",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "s3:ListMultipartUploadParts"
            ],
            "Resource": [
                "arn:aws:s3:::northerntrail/marketing/*"
            ]
        }
    ]
}
   
```

#### See Also

- [Configure a Trigger Automation](https://help.salesforce.com/s/articleView?id=mktg.mc_as_define_a_file_trigger_automation.htm&language=en_US)
- [How to Use the File Transfer Activity in Automation Studio](https://help.salesforce.com/s/articleView?id=mktg.mc_as_using_the_file_transfer_activity.htm&language=en_US)