SugarAI is currently reviewing our Marketplace strategy and submission process. During this time, we are temporarily pausing new Marketplace partner and add-on submissions.

We appreciate your patience as we work to ensure the Marketplace continues to provide a strong and relevant experience for our customers and partners. For questions, contact marketplace@sugarai.com.

by techloyce

Once place for all your files, wherever you are, including in Sugar. Dropbox is used by many businesses for all of their photos, docs, videos, and files. Now with DropBox For Sugar they can be accessed directly from within Sugar.

Includes a 30 day guarantee
Try it Now

By clicking you consent to share your profile with the developer

Configuration Guide

Configuration Guide

Sugar connects to Dropbox through an app that you create once in the Dropbox Developer Console, and then one Connect to Dropbox click in Sugar. Install the add-on and activate the license first — see the Admin Guide.

1. Create a Dropbox app

Keep Admin > Dropbox Settings open in another tab: you copy the Redirect URI from it.

Create the app

  1. Open the Dropbox Developer Console, sign in with the Dropbox account Sugar should use and click Create app.
  2. Choose Scoped access (1).
  3. Choose App folder (2). Sugar then sees only its own folder, Apps/, in your Dropbox. Choose Full Dropbox instead if Sugar should see the whole Dropbox.
  4. Enter a name (3), for example Acme Sugar Files. The name may not contain the word "Dropbox".
  5. Click Create app (4). The first time, Dropbox asks you to agree to its API terms.

04-dbx-create-app.png

Allow reading and writing files

  1. Open the Permissions tab and tick files.content.write (2) and files.content.read (3). Dropbox ticks files.metadata.read (1) for you.
  2. Click Save changes (4).

05-dbx-permissions.png

Add the Redirect URI

  1. Open the Settings tab (1).
  2. Under OAuth 2 > Redirect URIs, paste the Redirect URI from Sugar's Dropbox Settings (2), for example https://crm.example.com/index.php?entryPoint=dropboxOAuth.
  3. Click Add (3), then Add redirect URI to confirm.

06-dbx-redirect-uri.png

Copy the App key and secret

  1. On the same tab, copy the App key (1).
  2. Click Reveal app secret and copy the App secret (2).

07-dbx-key-secret.png

In the Dropbox Developer Console In Sugar Dropbox Settings
App key App key
App secret App secret
Generated access token not needed
Allow public clients not needed

2. Connect Sugar to Dropbox

Go to Admin > Dropbox Settings. The screen has four steps on the left (Dropbox app, Connect, Uploads and Test), and a setup guide with a direct link to the Developer Console on the right. Fill in the app and the uploads and save them first, then connect and test.

Enter the Dropbox app

  1. App key: paste the App key (1).
  2. App secret: paste the App secret (2). It is stored encrypted and never shown again. To replace it later, paste a new one. Leave the box empty to keep the saved one.
  3. Redirect URI: click Copy (3) to copy the URI you add to the app (step 9 above). If your Sugar site is reached at a different address, open Use a different redirect URI.

08-settings-app.png

Choose where uploads go

  1. Upload folder: the folder Sugar creates in Dropbox for its files. Default: SugarCRM.
  2. Organize uploads: where each file goes.
Option Example path of a file attached to the account Acme Inc
One folder /SugarCRM/Proposal.pdf
By module /SugarCRM/Accounts/Proposal.pdf
By record /SugarCRM/Accounts/Acme Inc/Proposal.pdf

With an App folder app, these paths are inside Apps/ in your Dropbox. When a file with the same name already exists, Dropbox adds a number, for example Proposal (1).pdf.

  1. Click Save at the bottom of the screen.

09-settings-uploads.png

Connect

  1. Click Connect to Dropbox. Dropbox opens in the same window. If you are not signed in, sign in with the Dropbox account Sugar should use.
  2. Dropbox may first show Before you connect this app…, because the app is your own and not published. Click Continue.
  3. Click Allow.

10-dbx-allow.png

Dropbox brings you back to Dropbox Settings. The Connect step shows the connected Dropbox account and its storage, and the badge at the top right shows Connected.

Test

  1. Click Test Connection. When everything is correct, you see Connected to Dropbox as … with the account name and the storage used (1).

11-settings-connected.png

If the test fails, the message tells you what to fix. See Documentation for troubleshooting.

The setup guide on the right of the screen repeats these steps, with buttons that copy the Redirect URI and jump to the App key and App secret fields.

12-setup-guide.png

Saving Comment Saving Comment...