# Configuration

Check out the step-by-step video tutorial to configure and use Amazon S3 for Magento 2.

<br>

{% embed url="<https://youtu.be/SMawKp4Wois>" %}

Once you have successfully installed the extension, go to **Stores > Configuration** to configure the extension for use.

**Note –** In order to use this extension, the bucket in your AWS Server must be Public.

<figure><img src="/files/KSANR6XsG3hX7rQh0H4X" alt=""><figcaption></figcaption></figure>

**Configuration**

* **Allowed file to save on Amazon:** Enable or disable extension from here.
* **Access key:** Enter your Amazon S3 access key here.
* **Secret key:** Enter your Amazon S3 secret key here.
* **Bucket:** Enter the name of your Amazon bucket here.
* **Region:** Enter the name of a specific region here to check the availability of the bucket.
* **Request timeout:** Set the timeout period for request here.
* **Custom Endpoint:** Enable the custom endpoint from here.
* **Custom Endpoint URL:** Enter custom endpoint URL.

**Remove Media Image Permanently**

* **Remove Media Directory Image Permanently –** Set this field to Yes to remove all the media images from the local server.

**Note –** Once the media files are removed, you cannot recover them. Make sure you take a backup of the media files before exporting them to the Amazon Server.


---

# 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.magecomp.com/magento-2-amazon-s3-extension/configuration.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.
