# Amazon S3

Phiona can connect to an Amazon S3 file repository. Similar to the other database connections, click on the "Create a new connection" link on the top left, and then enter a name for the connection, your Access Key ID, and Secret Access Key for your S3 instance.

![](/files/-MfYMnkvO1cdmtfhry1X)

![Enter your Amazon S3 Access Details](/files/-MfYumQQlF4AM1b7KGcH)

Once you have entered your information, you will see a new data connection.

![A successfully configured S3 connection](/files/-MfYuyEaclEf_eus5ifS)

Click into the connection and you will see the different repositories you have access to.

![S3 repositories](/files/-MfYv7e7o-XKmiRLmgNU)

Select the file that you would like to access, or if there are many, search for the file, and click to import it into Phiona.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.phiona.com/data-sources/amazon-s3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
