--- title: "S3 Integration" chapter: true weight: 204 --- ## Create S3 Integration _While the_ _**CarPurchases**_ _collection is being populated with the DynamoDB data_, let’s now create a second integration with AWS S3. We will load a Rockset’s Collection with the CSV data from S3. This will allow us to write a JOIN query that combines the car company information with the data from DynamoDB.
- Navigate to the [AWS IAM Policy](https://us-east-1.console.aws.amazon.com/iamv2/home#/policies) section and click on **Create Policy**:
- Go ahead and override the JSON tab with this JSON snippet:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:List*",
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::rocksetawsworkshop",
"arn:aws:s3:::rocksetawsworkshop*"
]
}
]
}
It should look like this:
- When you’re done, click on **Next: Tags**.
- Immediately, click on **Next: Review**.
- Set the policy name to RocksetS3Policy and then click **Create policy**:
- Switch over to the Rockset Console and copy the **Rockset Account ID** and **external ID** on the Rockset DynamoDB Integration page:
- _Refer to the image below_:
- To find the policy we just created in step 4, type **RocksetS3Policy** in the search bar. Click the policy to attach it to the role. Afterward, click **Next**:
- Name the role **RocksetS3Role**. On the bottom right, click on **Create role**:
- Copy the Role ARN from AWS:
- Navigate back to Rockset and paste the ARN Role in **Role ARN** on Rockset and click **Save Integration**: