Skip to main content
Backblaze B2 is an S3-compatible object storage service. Mixpeek auto-discovers your regional endpoint — you only need your application key ID and application key.

Overview

The Backblaze B2 integration lets Mixpeek sync objects from any B2 bucket into your Mixpeek buckets for processing. Each file becomes a bucket object with its metadata, ready for feature extraction in your collections. Mixpeek uses Backblaze’s S3-compatible API via the standard AWS SDK. On connection creation, it calls the B2 authorization API to discover your account’s correct regional endpoint (e.g., s3.us-east-005.backblazeb2.com) automatically.

Prerequisites

  • An active Backblaze account with B2 Cloud Storage enabled.
  • An application key with at minimum: listBuckets, listFiles, and readFiles capabilities.
  • The key ID and application key (shown once at creation — copy it immediately).

Configuration

Connection-Level Fields

Sync-Level Fields

Setup

1

Create a Backblaze application key

  1. Log in to the Backblaze Console.
  2. Go to App Keys in the left sidebar.
  3. Click Add a New Application Key.
  4. Set a name (e.g., mixpeek-sync) and choose the buckets to grant access to.
  5. Enable: Read and Write Files, List Buckets, List Files, Read Files.
  6. Click Create New Key and copy both the keyID and applicationKey immediately — the key is shown only once.
The application key is shown only once at creation. If you lose it, you must create a new key.
2

Create the storage connection in Mixpeek

3

Create a sync configuration on your bucket

4

Trigger your first sync

Advanced Configuration

For production, create a key scoped to a specific bucket:
  1. In Backblaze Console → App Keys → Add New Key
  2. Under Allow access to Bucket(s), select a single bucket
  3. This limits the key’s blast radius if it’s ever compromised

File Filtering

Filter which files are synced using glob patterns:

Incremental Sync

Only sync files added or modified after a specific date:

Source Path Format

The source_path supports multiple formats:

Sync Modes

Troubleshooting

Your key ID or application key is incorrect:
  1. In the Backblaze Console → App Keys, verify the keyID column matches what you entered.
  2. The application key is only shown once — if you lost it, create a new key.
  3. Ensure the key has not expired or been deleted.
  • Verify the source_path matches the correct bucket name (case-sensitive).
  • Check that your application key has listFiles and readFiles capabilities.
  • If the key is scoped to a specific bucket, ensure the bucket name in source_path matches exactly.
  • Check include_patterns — make sure they match your file extensions.
Your application key may have listBuckets but not listFiles on a specific bucket:
  1. Create a new key with List Files and Read Files enabled for the target bucket.
  2. Update the connection with the new key.
Backblaze B2 uses flat key namespacing (like S3). Folders are just key prefixes.
  • Use b2://bucket/ (trailing slash) to sync all files recursively.
  • Use b2://bucket/subfolder/ to scope to a specific prefix.