ℹ The zip upload only hosts static files. For sync you need a Cloudflare Worker — create one in the dashboard in ~5 minutes, no command line needed.
1
Create a KV Namespace (for storage)
Cloudflare dashboard → Workers & Pages → KV in the left sidebar
→ "Create a namespace" → name it exactly
B2B_DATA → Add
2
Create a Worker & paste the sync code
Workers & Pages → Create application → Create Worker
→ name it sc-b2b-sync
→ click "Edit code" → select all & delete the placeholder code
→ paste the entire contents of worker-standalone.js
(included in the zip) → Deploy
3
Bind the KV namespace to the Worker
Open sc-b2b-sync Worker → Settings → Variables
→ scroll to KV Namespace Bindings → Add binding:
Variable name =
B2B_DATA
KV Namespace =
B2B_DATA
→ Save and deploy