BAPBA Protocol
GuidesHost Guides

Configuring user storages

Step-by-step setup for your own Google Drive, Dropbox, OneDrive, S3, and FTP/SFTP storage in BAP — with links to detailed provider guides.

Configuring user storages

This guide is for Pro or self-hosted hosts who connect their own storage backends (Google Drive, Dropbox, OneDrive, AWS S3, or FTP/SFTP). It summarizes the steps and points to detailed setup pages where needed.

How to add storage in BAP

  1. Log into the Host Dashboard
  2. Go to SettingsStorage
  3. Click "Add Storage"
  4. Choose the storage type
  5. Configure credentials (OAuth or static; see section below)
  6. Click "Test Connection" (if available), then "Save & Connect" or "Save"

Jump to: Google Drive · Dropbox · OneDrive · AWS S3 · FTP/SFTP


Google Drive

Overview

For your own Google Drive app you need OAuth 2.0 credentials (Client ID and Client Secret) from Google Cloud Console. In BAP, choose "Use my own app" and enter them.

Steps

  1. Create OAuth credentials — Follow the detailed Google Drive Setup guide. You’ll create a project, enable the Drive API, configure the OAuth consent screen, and create an OAuth client ID (Web application). Set the authorized redirect URI to your BAP OAuth callback (e.g. https://your-domain.com/api/storages/oauth/callback).
  2. In BAP — Select Google Drive, choose "Use my own app", and enter Client ID and Client Secret.
  3. Save & Connect — Click "Save & Connect" to open Google’s sign-in and grant access; then pick a folder for will documents.

See also: Connecting Storage for the full overview.


Dropbox

Overview

For your own Dropbox app you need an app (App Key and App Secret) from the Dropbox Developer Console. In BAP, choose "Use my own app" and enter them.

Steps

  1. Create a Dropbox app — Follow the Dropbox App Setup guide. At dropbox.com/developers/apps, create an app with the required permissions and set the redirect URI to your BAP OAuth callback.
  2. In BAP — Select Dropbox, choose "Use my own app", and enter App Key (Client ID) and App Secret (Client Secret).
  3. Save & Connect — Click "Save & Connect" to authorize with Dropbox and select a folder.

See also: Connecting Storage for the full overview.


OneDrive

Overview

For your own OneDrive integration you need an Azure AD app registration (Application/Client ID and Client Secret) from the Azure Portal. In BAP, choose "Use my own app" and enter them.

Steps

  1. Register an Azure AD app — Follow the OneDrive Setup guide. Go to Azure App Registrations, create a new registration, add Files.ReadWrite.All and offline_access as delegated permissions, create a client secret, and set the redirect URI to your BAP OAuth callback (e.g. https://your-domain.com/api/storages/oauth/callback).
  2. In BAP — Select OneDrive, choose "Use my own app", and enter Application (Client) ID and Client Secret.
  3. Save & Connect — Click "Save & Connect" to sign in with your Microsoft account and grant access; then pick a folder for will documents.

See also: Connecting Storage for the full overview.


AWS S3

Overview

For S3 (or S3-compatible storage like MinIO or DigitalOcean Spaces) you need an access key and secret, plus bucket name and region. No OAuth — enter credentials directly in BAP.

Steps

  1. Create IAM user and bucket — Follow the S3 Setup guide. Create an IAM user with S3 permissions, create a bucket, and note the Access Key ID, Secret Access Key, region, and bucket name. For S3-compatible providers, note the custom endpoint URL if required.
  2. In BAP — Select Amazon S3 / S3-Compatible. Enter Access Key ID, Secret Access Key, Region, and Bucket Name. If using MinIO, DigitalOcean Spaces, etc., fill Custom Endpoint.
  3. Save — Click "Save & Connect" to verify and save.

See also: Connecting Storage and S3 Setup for IAM policies and S3-compatible options.


FTP/SFTP

Overview

For FTP or SFTP you need the server host, port, username, password, and optionally an SSH private key (for SFTP). BAP connects directly; no OAuth.

Steps

  1. Prepare the server — Ensure your FTP or SFTP server is reachable and you have a user account. For SFTP with key auth, generate a key pair and add the public key to the server.
  2. In BAP — Select the storage type that uses FTP/SFTP (if offered in your deployment). Enter Host, Port (e.g. 21 for FTP, 22 for SFTP), Username, Password, and target Path. For SFTP with key authentication, paste the SSH private key if the form supports it.
  3. Save — Click "Save" and test the connection if available.

See also: Connecting Storage for field details and security notes.

On this page