Setup guide
Step 0: Get Refuel AWS Account ID and External ID
Contact us at support@refuel.ai to get Refuel’s AWS Account ID and external ID that you can use in the later steps.Step 1: Create IAM Policy for S3 Access
Navigate to the IAM Console in AWS, click on Policies in the left navbar, and then hit the “Create Policy” button. Click on the JSON tab, copy the policy below (substitute your bucket name, add multiple buckets, restrict to specific keys in a bucket) and then hit Next. Click Next again, give the policy a name, such as “RefuelS3ReadAccessPolicy” and then hit “Create policy”.Step 2: Create IAM Role for S3 Access
Follow the steps below to create an IAM role that Refuel can assume to access your S3 bucket.- In the IAM Console, click on Roles in the left navbar and click on “Create role”.
- In “Trusted entity type”, click on “AWS account” and then click on “Another AWS account”.
- Paste in the Refuel AWS account ID from Step 0.
- Click “Require external ID” and paste in the external ID from step 0, and click Next.
- Search for, and add the policy you just created: “RefuelS3ReadAcccessPolicy” and hit Next.
- Give this role a name, let’s say “RefuelS3ReadAccessRole” and click “Create role”.