> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prod.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon S3

> Build apps that can list, read, delete, and upload files in S3

## Setting up Amazon S3

### 1. Add integration

Select **Amazon S3** from the&#x20;
**integrations page**.

### 2. Configure settings

Fill out the form with the following settings:

> [tab] Dedicated Cloud
>
> | Setting | Required | Description |
> | - | - | - |
> | Name | ✓ | Name that will be displayed to users when selecting this integration in Prod AI |
> | Region | ✓ | [AWS region](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) where the S3 bucket is hosted, e.g. *us-east-1* |
> | Access Key ID | ✓ | [Access key ID](https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html) for your AWS account |
> | Secret Key | ✓ | [Secret access key](https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html) for your AWS account |
> | IAM Role ARN | ✗ | ARN of the role for Prod AI to assume for accessing S3 resources |

> [tab] Managed BYOC
>
> | Setting | Required | Description |
> | - | - | - |
> | Name | ✓ | Name that will be displayed to users when selecting this integration in Prod AI |
> | Region | ✓ | [AWS region](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) where the S3 bucket is hosted, e.g. *us-east-1* |
> | Access Key ID | ✓ | [Access key ID](https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html) for your AWS account |
> | Secret Key | ✓ | [Secret access key](https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html) for your AWS account |
> | IAM Role ARN | ✗ | ARN of the role for Prod AI to assume for accessing S3 resources |

> [tab] Cloud (legacy)
>
> | Setting | Required | Description |
> | - | - | - |
> | Name | ✓ | Name that will be displayed to users when selecting this integration in Prod AI |
> | Region | ✓ | [AWS region](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) where the S3 bucket is hosted, e.g. *us-east-1* |
> | Access Key ID | ✓ | [Access key ID](https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html) for your AWS account |
> | Secret Key | ✓ | [Secret access key](https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html) for your AWS account |
> | IAM Role ARN | ✗ | ARN of the role for Prod AI to assume for accessing S3 resources |

> [tab] Hybrid (legacy)
>
> | Setting | Required | Description |
> | - | - | - |
> | Name | ✓ | Name that will be displayed to users when selecting this integration in Prod AI |
> | Auth Type | ✓ | Choose between: <ul><li>**Access Key** - Use access key ID and secret access key authorization</li> <li>**Token File** - Use [Service Account Token Volume Projection](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html) to authorize your data plane to connect to your S3 Buckets</li><li>**EC2 Instance Metadata** - Use [EC2 Instance Metadata](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html) to authorize your data plane to connect to your S3 Buckets. If you are using [Kube2Iam](https://github.com/jtblin/kube2iam), you would select this option.</li></ul> |
> | Region | ✓ | If **Auth Type** is Access Key: [AWS region](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) where the S3 bucket is hosted, e.g. *us-east-1* |
> | Access Key ID | ✓ | If **Auth Type** is Access Key: [Access key ID](https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html) for your AWS account |
> | Secret Key | ✓ | If **Auth Type** is Access Key: [Secret access key](https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html) for your AWS account |
> | IAM Role ARN | ✗ | ARN of the role for Prod AI to assume for accessing S3 resources |

### 3. Test and save

Click **Test Connection** to check that Prod AI can connect to the data source.

On Dedicated Cloud, allowlist your [Prod AI data plane IP addresses](https://docs.prod.ai/deployment/security/overview.md#ip-addresses).

After connecting successfully, click **Create** to save the integration.

### 4. Set data tags

Optionally, configure different data tags for [separate development environments](https://docs.prod.ai/development-lifecycle/build/data-tags.md).

**Amazon S3 connected!**
You can now build
[apps](https://docs.prod.ai/coding-agents/apps.md) and [agents](https://docs.prod.ai/coding-agents/agents.md) with Amazon S3.

## Creating Amazon S3 steps

Connect to your S3 integration from Prod AI by creating steps in Application APIs, Workflows, and Scheduled Jobs. An S3 step can perform the following actions:

* Delete Files
* Generate presigned URL
* List bucket objects
* List buckets
* Read file
* Upload file
* Upload multiple files
* List files (deprecated)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.