Cloud Storage

Setup Dropbox

12min

Overview & Purpose

Powerful Dropbox features with powerful network effects yield business and IT benefits. Dropbox for businesses reduces infrastructure cost and management, therefore giving better control over your company data. It is highly recommended for businesses to integrate the best storage solution.

Note: The Dropbox feature works only for the SSL verified websites. If your website does not hold an SSL Certificate then, it is recommended to get the SSL certification.

How to integrate

Read the below systematic guide to integrate Dropbox in your OPS Store -

1. Sign in or create a new Dropbox account from Admin Panel

  • Login into your Dropbox account with your existing credentials or sign up with Google/create a new Dropbox account:
Dropbox login/sign up page
Dropbox login/sign up page


2. Create Dropbox Platform App

Now, go to the Developer's console for creating a new application:

Create a new App on Dropbox
Create a new App on Dropbox

  • Choose an API: choose the type of API for apps that you need access to.
  • Choose the type of access you need: choose App Folder.
  • Name your app: Enter a name for your new app and click on the Create app button.
  • This will create a DROPBOX API with access to the App Folder.

3. Get App Key and Secret ID

Generate App Key and Secret ID

  • After you created an app, the next screen will generate an App Key as well as App Secret Key.
  • To generate the access token click on the Generate Access Token button.
  • In the Redirect URIs field, add the URL in the below-given format: https://yourdomain.com/admin/configuration_external_service_action.php

Note: This access token can be used to access your account (Default - [email protected]) via the API. Do not share your access token with anyone.



Generate App Key and Secret ID
Generate App Key and Secret ID


Set Permissions

After the app key and secret ID, it is time to set permissions. Set the permissions as displayed in the below image:

Set permissions
Set permissions


4. Configuration in Admin Panel

To configure the Dropbox in the OnPrintShop admin panel, follow the below steps:

  • Navigate to Admin >> Store Configuration >> External Service Settings >> Cloud Storage Tab.
  • Click on the Edit icon against the Dropbox Storage:
Document image

  • Enter the App Key, App Secret Code, and Access token which you copied in the above steps.
  • After adding the Secret Token, click on the Generate link, if you registering for the first time.
  • Give a name to the directory where the user’s file will be uploaded
  • Once done with filling in all the details, Save the changes.

5. Enable Cloud File Upload

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

You can enable this from Admin >> Products >> Product >> ‘Action’ dropdown of a particular product >> Settings >> ‘Upload’ Tab >> Allow Cloud File Upload >> Select ‘Both’ option:

Enable Cloud File Upload for specific products
Enable Cloud File Upload for specific products


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

Customers get an option to upload a large file
Customers get an option to upload a large file


6. Manage Files

On the Dropbox home page, the admin will be able to view all the files uploaded by their customers.

  • Click on the Apps folder and then, select the app created by you. In this example, we have our app name as OnPrintShopTest:
Your App displayed in the Apps list
Your App displayed in the Apps list

  • Click on your app folder.
  • From the Orders folder, you can click and download the Artwork files uploaded by the customers. For every order as you can see a folder is already created as the same name as Order ID:
Orders folder under your Dropbox App
Orders folder under your Dropbox App


Note: Advise your customer to not upload files larger than 150 MB in dropbox.