# Backblaze B2 Setup: Connect & Transfer Files

> How to connect Blober to Backblaze B2 cloud storage. Browse buckets, upload and download files via the S3-compatible API.

Backblaze B2 is affordable cloud storage with an S3-compatible API. Blober connects via the S3 layer for reliable compatibility.

Path format:

```plaintext
bucket-name/path/to/file.ext
```

## Capabilities

* ✅ Browse buckets and objects
* ✅ Upload files (including large files)
* ✅ Download files
* ✅ Delete objects
* ✅ Copy/move objects
* ✅ Automatic region detection per bucket
* ✅ Storage class selection (inherited from S3)

## Prerequisites

* A Backblaze account ([create one](https://www.backblaze.com/b2/sign-up.html))
* At least one B2 bucket
* An application key with appropriate permissions

## Required Credentials

[]()

### Application Key ID

* **Format:** 25 alphanumeric characters
* **Example:** `0000123456789abcdef000000`

[]()

### Application Key

* **Format:** 31 characters
* **Example:** `K000abcdefghijklmnopqrstuvwxy`

## Setup (Backblaze Console)

### 1. Create a B2 Bucket

1. Go to [Backblaze B2 Console](https://secure.backblaze.com/b2_buckets.htm)
2. Click **Create a Bucket**
3. Enter a unique bucket name
4. Choose **Private** or **Public** as needed
5. Click **Create a Bucket**

### 2. Create an Application Key

1. Go to **App Keys** in the B2 Console

2. Click **Add a New Application Key**

3. Configure the key:

   * **Name:** Give it a descriptive name (e.g., `blober-key`)
   * **Allow List All Bucket Names:** ✅ Enable for bucket browsing
   * **Access:** Select buckets or "All" for full access
   * **Permissions:** Read and Write (or as needed)

4. Click **Create New Key**

5. **Copy the keyID and applicationKey immediately** (the secret is shown only once!)

### 3. Configure in Blober

1. In Blober, go to **Workflows** => **New Workflow**
2. Select **Backblaze B2** as source or destination
3. Enter your Application Key ID and Application Key
4. Test by browsing your buckets

## Troubleshooting

### "Unauthorized" or "401" error

* Verify your Application Key ID and Application Key are correct
* Check if the key has expired or been revoked
* If using a bucket-scoped key, ensure it has access to the bucket you're trying to browse

### Buckets not showing up

* Make sure **Allow List All Bucket Names** is enabled on your application key
* If using a restricted key, it can only see buckets it has access to

### Slow downloads

* Backblaze B2 download speeds depend on your region and connection
* Files are served from the bucket's region - choose a region close to you when creating buckets

## Best Practices

* **Use bucket-scoped keys** in production for better security (limit access to specific buckets)
* **Enable versioning** on buckets with important data for accidental deletion protection
* Backblaze B2 pricing is simple: $6.95/TB/month storage, $0.01/GB download (first 1 GB/day free)

> **Terms Compliance**
>
> Your use of Backblaze B2 through Blober is subject to [Backblaze's Terms of Service](https://www.backblaze.com/company/policy/terms-of-service). See our [Terms of Service](/kb/docs/terms-and-privacy/terms-of-service/) for details.

## External References

* [B2 Cloud Storage Documentation](https://www.backblaze.com/b2/docs/)
* [Creating App Keys](https://www.backblaze.com/docs/cloud-storage-create-and-manage-app-keys)
* [B2 S3-Compatible API](https://www.backblaze.com/b2/docs/s3_compatible_api.html)
* [Backblaze B2 Pricing](https://www.backblaze.com/b2/cloud-storage-pricing.html)