Dropbox
Dropbox
Configuration
Dropbox source connector integrates with the Dropbox API to extract and synchronize files.
Connects to folder structures from your Dropbox account.
It supports downloading and processing files.
Authentication
This connector uses OAuth 2.0 with custom credentials. You need to provide your OAuth application’s Client ID and Client Secret in the Airweave UI, then go through the OAuth consent screen.
- Create an OAuth application in your provider’s developer console
- Enter your Client ID and Client Secret in the Airweave UI
- Complete the OAuth consent flow when connecting the source
Configuration Options
This connector does not have any additional configuration options.
Data Models
The following data models are available for this connector:
DropboxAccountEntity
Schema for Dropbox account-level entities based on the Dropbox API.
REQUIRED fields from ChunkEntity (must be provided):
- entity_id: ID of the entity this represents in the source
- breadcrumbs: List of breadcrumbs for this entity (empty for top-level accounts)
OPTIONAL fields from ChunkEntity (automatically populated if available):
- Other inherited fields from ChunkEntity
DropboxFolderEntity
Schema for Dropbox folder entities matching the Dropbox API.
REQUIRED fields from ChunkEntity (must be provided):
- entity_id: ID of the entity this represents in the source
- breadcrumbs: List of breadcrumbs for this entity
OPTIONAL fields from ChunkEntity (automatically populated if available):
- Other inherited fields from ChunkEntity
DropboxFileEntity
Schema for Dropbox file entities matching the Dropbox API.
REQUIRED fields from FileEntity (must be provided):
- file_id: ID of the file in the source system
- name: Name of the file
- download_url: URL to download the file
OPTIONAL fields from FileEntity (automatically populated if available):
- Other inherited fields from ChunkEntity
Integrate Airweave with Dropbox APIs on localhost
Airweave will access Dropbox on behalf of your users. You’ll need to have each
Dropbox provides documentation on how to implement OAuth 2.0. This guide will walk you through connecting Dropbox APIs to Airweave when running locally.
- Go here to create the “Airweave integration” application
- Under
Settings
, add the following Redirect URI:
3.Under Permissions
, select the following scopes:
- Locate the
App key
andApp secret
underSettings
. Add these credentials to thedev.integrations.yml
file to enable Dropbox API integration.