BlobRouter v0.1 · Last updated: August 2026 · Architecture version: 2.0
New to BlobRouter? Start with the free AWS storage audit instead.See your storage waste before installing the SDK.
Prerequisites
- An AWS account (for the free audit and/or S3 as a routing target)
- Node.js 18 or later
- A BlobRouter account at app.blobrouter.com
1. Install the SDK
2. Get your API key
- Open the dashboard
- Go to Providers → API key
- Copy your key (
br_live_…)
3. Connect at least one provider
Routing needs credentials for the providers you want to use (AWS S3, Cloudflare R2, and/or Backblaze B2).- Prefer R2 for hot files → Connect Cloudflare R2
- Prefer B2 for archive → Connect Backblaze B2
- Still exploring waste on existing S3? → Connect AWS for audit
4. First upload
Createupload.mjs next to an example.jpg file:
- SDK calls
POST /v1/upload/init - BlobRouter picks a provider and returns a presigned PUT URL
- SDK uploads directly to the provider (BlobRouter never sees the bytes)
- SDK calls
POST /v1/upload/completeso BlobRouter can verify and record savings