# Authenticate S3

### Ensure that DataSyncs has correct permissions to access your S3 bucket

We currenty support two authentication methods:&#x20;

{% content-ref url="/pages/GYLddmphC2c4KelKHplb" %}
[Use an S3 User](/integrations/datasyncs/connecting-your-warehouse/authenticate-s3/use-an-s3-user.md)
{% endcontent-ref %}

{% content-ref url="/pages/aH9NjA1ThBwHTDH0ywmg" %}
[Use an IAM Role](/integrations/datasyncs/connecting-your-warehouse/authenticate-s3/use-an-iam-role.md)
{% endcontent-ref %}

After creating the necessary permissions, you can configure this within the configuration screen in HockeyStack. <br>


---

# 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.hockeystack.com/integrations/datasyncs/connecting-your-warehouse/authenticate-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.
