website logo
Getting Started
User Manual
FAQs
Video Tutorials
Add-On Modules
Integrations
Latest Releases
Navigate through spaces
Getting Started
User Manual
FAQs
Video Tutorials
Add-On Modules
Integrations
Latest Releases
⌘K
👨‍💼Introduction
✔️Important Configurations
🎨Designer Studio
📷Social Logins and Sharing
📧Email Marketing
📤Mailing List Services
💬SMS Notification
🗣️Reviews
👥Accounting
💰Tax API
☁️Cloud Storage
🖼️Third-Party Images
WhatsApp Business API
🔌Others
Docs powered by archbee 
23min

Setup Amazon S3

Overview

Manage large files uploaded by users without the cost of any extra hardware. Store the files uploaded on your OnPrintShop web store on AWS (Amazon Web Services). Amazon Simple Storage Service (Amazon S3) is a storage service offered by Amazon. All the customers of OnPrintShop can store and manage any amount of data range of use cases, such as websites, mobile applications, backup and restore, archive, enterprise applications, IoT devices, and big data analytics.

Purpose

The service is fast, reliable, secure, safe, and inexpensive. Thus, with easy steps, you can avail the benefits of AWS on your OnPrintShop website.

How to integrate

Read the below systematic guide to integrating Amazon S3 services with your OnPrintShop website.

1. Get Started With AWS Account

  • Visit the AWS Console site and Sign Up to avail of the Amazon Web Services.
  • Now, sign in with your AWS Console email address and password.
Sign in to your AWS Account
Sign in to your AWS Account


2. Create Bucket from your AWS Console

The successful login will redirect you to your AWS Dashboard.

  • To create Bucket, go to AWS Dashboard >> 'Services' >> Under 'Storage' > S3:

  • This will take you to the Bucket page:

  • To create a new bucket, click on the Create Bucket button:

  • Enter basic information such as the Name of your bucket, region of your region and other basic details.
  • Complete the remaining steps to create a bucket. Once done, click on the Create bucket button at the bottom of the page:


NOTE: While creating a bucket, select an appropriate region.

3. CORS Configuration

In order to transfer data from your OnPrintShop store to AWS, configure the CORS Code to AWS Account.

Retrieve the code from Admin Panel Store Configuration >> External Service Settings >> Cloud Storage >> Amazon S3 Cloud Storage >> Action >> Edit:



Under the Settings, click on the Help icon against the "Enter Bucket Name" field. Copy the code displayed.

4. Set Up Edit Permission on your bucket

  • After creating the bucket, you need to edit permissions so that the file is uploaded in your bucket. Without this permission, your user will not be able to upload a file on the cloud.
  • On your AWS Console, click on your created bucket from the list:

  • Click on the Permissions tab and scroll down to CORS Configuration:

  • Click on the Edit button:

  • Paste the CORS code copied from Admin Panel.
  • Click on the Save changes button.

5. Get Access Key ID and Integration details

  • After CORS configuration, there is a need to create ‘Amazon Access Key ID’ and ‘Amazon Secret Key’.
  • You can get the access key from the Amazon S3 Dashboard >> Your Account Name on top right corner > Security Credentials:

  • On the My Security Credentials dashboard, locate Access keys for CLI, SDK, & API access:

  • Click on the Create access key button to get the Access Key ID and Secret Access Key.
  • Click on the Show Access Key and Download Key File.

Note: Download your key file. It contains your new access key ID and secret access key. If you do not download the key file now, you will not be able to retrieve your secret access key again.

6. Amazon AWS S3 configuration with OnPrintShop Web Store

In your Admin Panel, go to Store Configuration >> External Service Settings >> Cloud Storage >> Amazon S3 Cloud Storage >> Edit:



Enter necessary details such as Bucket Name, Amazon Access Key ID, Amazon Secret Key, and Amazon Region.

7. Enable Cloud File Upload

To enable customers to upload files directly into your AWS Cloud storage you will have to Allow Cloud File Upload for a product from the Product section.

Enable this from the Admin> Products>>Products> ‘Action’ dropdown of a particular product> Settings> ‘Upload’ Tab> Allow Cloud File Upload> Select ‘Both’ option:



After enabling this option your customers will see an option to upload large files on the Storefront:



After the successful integration of Amazon S3 Cloud storage on your website, a user will be able to upload large files directly into your Amazon S3 bucket.

A folder "Orders" will be created with a sub-folder with the name same as the Order Number:





Did this page help you?
Yes
No
UP NEXT
Setup Google Drive
Docs powered by archbee 
TABLE OF CONTENTS
Overview
Purpose
How to integrate
1. Get Started With AWS Account
2. Create Bucket from your AWS Console
3. CORS Configuration
4. Set Up Edit Permission on your bucket
5. Get Access Key ID and Integration details
6. Amazon AWS S3 configuration with OnPrintShop Web Store
7. Enable Cloud File Upload