# AWS

## Connecting to S3

Accern AI platform allows users to connect to their S3 buckets for sourcing as well as delivering data.

To connect to the S3 buckets, there are 2 mechanisms:

1. **Cross-Account Role :** This is a preferred and more secure option for enabling connection to S3. Accern uses a Cloud Formation template to generate a unique URL per client account. This provides details of the Accern's AWS Account ID, an External ID that is unique per client account a list of permissions required to connect to the S3 buckets. Additional details about this connection mechanism are available at <https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html>
2. **Access Key Id and Secret Access Key :** This is less preferable option as in this case, the client provides access key id and secret access key to connect to the S3 buckets.


---

# 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://documentation.accern.com/integrations/aws.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.
