# Amazon S3

Canonical: https://interlatent.com/docs/ivy/amazon-s3

Connect a bucket, import a small recording collection, and verify that it is ready for analysis.

## What you need

Section: https://interlatent.com/docs/ivy/amazon-s3#before-you-start

Have the bucket name, AWS region, and the path to your recordings ready. Use the dataset directory, such as `s3://your-bucket/recordings/session-01/`, rather than the whole bucket. Someone with permission to manage access in the bucket’s AWS account must complete the connection setup. Bucket connections require Pro.

Note: Start with read access to import recordings. Read and write access is useful when you also want Dataset exports written to your bucket. Your agent can check which options your account supports.

## 1. Check for an existing connection

Section: https://interlatent.com/docs/ivy/amazon-s3#existing-connection

Ask Ivy to list your storage connections first. A usable connection to the bucket can be reused. If a connection exists but access has changed, verify it again before importing. Creating another read connection for the same bucket returns an “already connected” message.

### Prompt

```text
Use Ivy to check my plan and list my storage connections. I want to import from s3://YOUR_BUCKET/recordings/ in REGION. Reuse a usable connection to this bucket if one exists, and verify access. If setup is needed, show me the connection instructions for read access.
```

## 2. Complete the AWS setup

Section: https://interlatent.com/docs/ivy/amazon-s3#grant-access

Ivy checks access when you request a connection. If access is missing, it returns the setup for your bucket. Follow those returned instructions in AWS, then ask the agent to finish verification. Use the exact policies, role details, and any verification values returned for this connection.

1. Ask your agent to request a read connection for your bucket and region.
2. Review the returned AWS setup with the person who manages your bucket.
3. Apply the returned access settings in your AWS account. Merge any bucket-policy statements with the existing policy.
4. Ask your agent to finish the connection and verify it.
5. Continue when verification succeeds and the connection is usable.

Note: You do not need to paste an AWS access key or secret key into chat. A connection that is still pending is not ready to import.

- [AWS permissions and verification](https://interlatent.com/docs/ivy/source-reference#aws-permissions)

## 3. Import a sample

Section: https://interlatent.com/docs/ivy/amazon-s3#import

Give your agent the dataset path and destination project. LeRobot and MCAP are supported recording formats; another layout can need conversion. Start with one episode where the source supports a sample limit. The import response reports whether the request started, needs preparation, or could not honor your limit.

### Prompt

```text
Import only 1 episode from s3://YOUR_BUCKET/recordings/session-01/ into a new Ivy project called “S3 sample”, using the verified connection and reading from the source bucket. Keep the one-episode limit. If this layout cannot enforce the limit, stop and explain the options. Wait for completion, report imported and failed counts, and send the project link.
```

Note: Custom layouts can start metered converter authoring and verified conversion automatically. Describe the layout and check your credit balance before starting. Supported LeRobot v2 conversion is free.

## 4. Check the recording

Section: https://interlatent.com/docs/ivy/amazon-s3#review

Open the returned project link and play the imported episode. Check camera names, duration, task text, and any recorded channels. “Import started” means work is still running; wait for the final status before reporting the result or beginning an experiment.

### Prompt

```text
List the recordings in “S3 sample”. Confirm which import completed, inspect one episode’s metadata and representative frames, and show me its available cameras. Report any skipped or failed recordings before we analyze it.
```

- [Run your first experiments](https://interlatent.com/docs/ivy/experiments)

## Keep the source available

Section: https://interlatent.com/docs/ivy/amazon-s3#source-access

The default bucket import reads recordings from their source. Keep the bucket, objects, and read permission available. If you need a copied source collection, ask about mirror mode before importing; it copies files into Interlatent storage and changes the storage and transfer involved.

- [Source storage and copies](https://interlatent.com/docs/ivy/source-reference#origin-mirror)
