Cloudflare Docs
Workers
Visit Workers on GitHub
Set theme to dark (⇧+D)

Bindings

Bindings allow your Workers to interact with resources on the Workers platform.

There are multiple types of bindings available today:

  1. Service bindings for communication with another Worker.
  2. KV namespace bindings for communication between a Worker and a KV namespace.
  3. R2 bucket bindings for communication between a Worker and an R2 bucket.
  4. Durable Object bindings for communication between a Worker and a Durable Object.
  5. Queue bindings for communication between a Worker and a Queue.

​​ Configuration

Bindings can be configured via Wrangler using wrangler.toml or by logging in to the Cloudflare Dashboard > Account Home > Workers > your Worker > Settings> Variables.