Guides
Connect Your S3 Bucket
Step-by-step guide to connect your AWS S3 bucket to FlexAI
Connecting Your S3 Bucket to FlexAI
This guide will walk you through the process of connecting your AWS S3 bucket to FlexAI. We currently support only AWS S3 for storage integration.
Watch our Full tutorial Video You can watch our full tutorial here.
Step 1: Create an IAM User
- Log in to your AWS Management Console.
- Navigate to the IAM (Identity and Access Management) dashboard.
- Click on “Users” in the left sidebar, then click “Create user”.
- Enter a username (e.g., “getflex.ai”).
- (Optional) Check “Provide user access to the AWS Management Console” if you want console access.
- Select “I want to create an IAM user”.
- Click “Next”.
Step 2: Set User Permissions
- On the permissions page, select “Attach policies directly”.
- Search for and select “AmazonS3FullAccess”.
- Click “Next”, then “Create user”.
- Save the sign-in details (URL, username, and password) for this new IAM user.
Step 3: Create an S3 Bucket
- Log in to the AWS console using the new IAM user credentials.
- Navigate to the S3 dashboard.
- Click “Create bucket”.
- Enter a unique bucket name.
- Configure bucket settings as needed.
- Click “Create bucket” at the bottom of the page.
Step 4: Restrict User Access to the New Bucket
- Log back into the root AWS account.
- Go to the IAM dashboard and select “Users”.
- Click on the “getflex.ai” user.
- Under the “Permissions” tab, click “Add permissions”, then “Create inline policy”.
- Switch to the JSON editor and paste the following policy:
- Replace
your_bucket_name
with the actual name of your bucket. - Click “Review policy”, give it a name, and click “Create policy”.
- Remove the “AmazonS3FullAccess” policy from the user.
Step 5: Generate Access Keys
- In the IAM dashboard, go to the “getflex.ai” user.
- Navigate to the “Security credentials” tab.
- Under “Access keys”, click “Create access key”.
- Copy the Access Key ID and Secret Access Key.
Step 6: Connect to FlexAI
- Log in to your FlexAI account.
- Navigate to the Settings > Storage.
- Enter the Access Key ID and Secret Access Key you just created.
- Click “Connect”.
Congratulations! You’ve successfully connected your S3 bucket to FlexAI. You can now use this bucket for storing and accessing your data within the FlexAI platform.