> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-amazon-s3-extension/configuration.md).

# 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.
