# Access Key

To establish connection through Access Key:

* Enter the credentials generated in AWS Account setup:
  1. Access Key id
  2. Secret Access Key
* Enter the bucket details and click \[Save]
  1. Bucket name
  2. Region

<figure><img src="https://media.langstack.com/documentation/media/images/connector/awss3connector/awsaccesskeyset.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
For steps to retrieve Access Key and Secret Access Key, [click here](https://docs.google.com/document/d/1LQ9-_ydeBS9bxR4lIq_GChsO9OXNhgeF/edit#heading=h.4i7ojhp).
{% endhint %}

<figure><img src="https://media.langstack.com/documentation/media/images/connector/awss3connector/awsacckeysetlabelsave.png" alt=""><figcaption></figcaption></figure>

* Test the connection by clicking the \[Test connection] button.

<figure><img src="https://media.langstack.com/documentation/media/images/connector/awss3connector/awsaccesskeytestc.png" alt=""><figcaption></figcaption></figure>


---

# 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.langstack.com/welcome/in-depth-learning/connectors/aws-connector/set-up-aws-s3-connector/access-key.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.
