{% extends "base.html" %} {% block title %}Dropbox Setup{% endblock %} {% block content %}

Dropbox Integration Setup

Configure the Dropbox integration for DocuElevate using our setup wizard.

Note: You need to create a Dropbox app and obtain API credentials. The setup wizard will guide you through this process.

Quick Setup Guide

Step 1: Create a Dropbox App

  1. Go to the Dropbox Developer Apps Console
  2. Click "Create app"
  3. Select "Scoped access" for API
  4. Choose "Full Dropbox" access (or "App folder" for more restricted access)
  5. Give your app a name (e.g., "DocuElevate")
  6. Click "Create app"

Step 2: Configure App Permissions

  1. In your app's settings page, go to the "Permissions" tab
  2. Enable the following permissions:
    • files.content.write (to upload files)
    • files.content.read (if you need to read file content)
  3. Click "Submit" to save changes

Step 3: Set OAuth 2 Redirect URI

  1. In your app's settings page, go to the "OAuth 2" section
  2. Add a redirect URI: {{ request.url.scheme }}://{{ request.url.netloc }}/dropbox-callback
  3. Click "Add" to save the redirect URI

Complete Setup with Wizard

Enter the folder path where files should be uploaded (e.g., /Documents/Uploads)

{% if is_configured %} {% else %} {% endif %}

{% if is_configured %} Dropbox integration is properly configured! Your refresh token is valid. {% else %} Dropbox integration is not completely configured or token may be invalid. {% endif %}

Configuration for Worker Nodes

Copy these environment variables to configure all worker nodes:

DROPBOX_APP_KEY={{ app_key_value }}
DROPBOX_APP_SECRET={{ app_secret_value|default('YOUR_APP_SECRET', true) }}
DROPBOX_REFRESH_TOKEN={{ refresh_token_value|default('YOUR_REFRESH_TOKEN', true) }}
DROPBOX_FOLDER={{ folder_path|default('/Documents/Uploads', true) }}

Add these variables to your .env file or environment configuration.

Need More Information?

For detailed instructions and troubleshooting, refer to the Dropbox Setup Documentation.

Back to Status
{% endblock %} {% block scripts %} {% endblock %}