{% extends "base.html" %} {% block title %}Dropbox Setup{% endblock %} {% block content %}
Configure the Dropbox integration for DocuElevate using our setup wizard.
Current Status:
Dropbox integration is {% if is_configured %} configured. {% else %} not configured. {% endif %}
{% if folder_path %}Target folder: {{ folder_path }}
{% endif %}Note: You need to create a Dropbox app and obtain API credentials. The setup wizard will guide you through this process.
files.content.write (to upload files)files.content.read (if you need to read file content){{ request.url.scheme }}://{{ request.url.netloc }}/dropbox-callbackEnter the folder path where files should be uploaded (e.g., /Documents/Uploads)
{% 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 %}
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.
For detailed instructions and troubleshooting, refer to the Dropbox Setup Documentation.