/Knowledge/sources/honojs__hono/llms-full/fastly-compute-bindings--part-02--08a156d2fdd1.md
Fastly Compute: Bindings (part 02) - hono-docs
Fastly Compute: Bindings (part 02) Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt bindings Summary ts...
Fastly Compute: Bindings (part 02)
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#bindings
Summary
## Content
```ts
// src/index.ts
import { buildFire } from '@fastly/hono-fastly-compute'
const fire = buildFire({
siteData: 'KVStore:site-data', // I have a KV Store named "site-data"
})
const app = new Hono<{ Bindings: typeof fire.Bindings }>()
app.put('/upload/:key', async (c, next) => {
// e.g., Access the KV Store
const key = c.req.param('key')
await c.env.siteData.put(key, c.req.body)
return c.text(`Put ${key} successfully!`)
})
fire(app)
Metadata
{
"chunk_index": 1,
"citation": "https://hono.dev/llms-full.txt#bindings",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Fastly Compute > Bindings (2)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 490,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Fastly Compute: Bindings (part 02)",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}