cloudflare · Cloudflare Workers Docs
Workers Upstash
Instructions for integrating Upstash Redis and QStash with Cloudflare Workers, including credential configuration via Wrangler secrets, package installation, and code implementation.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Upstash
Instructions for integrating Upstash Redis and QStash with Cloudflare Workers, including credential configuration via Wrangler secrets, package installation, and code implementation.
When To Use
Use when you need to connect a Cloudflare Worker to an Upstash Redis database or configure QStash task queues using environment secrets and specific HTTP clients.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-databases-third-party-integrations-upstash-workflow-guide.md | A guide explaining how to integrate Upstash Redis and QStash with Cloudflare Workers. | Questions about a guide explaining how to integrate Upstash Redis and QStash with Cloudflare Workers. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up.text | A text-based example demonstrating how to connect to an Upstash Redis instance from a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A text-based example demonstrating how to connect to an Upstash Redis instance from a Cloudflare Worker. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-2.text | A plain text verification of a successful connection response from an Upstash database via Cloudflare Workers. | Exact payloads, commands, or snippets shown in A plain text verification of a successful connection response from an Upstash database via Cloudflare Workers. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-3.text | A text example demonstrating the use of the Redis CLI command to set a key-value pair within a Cloudflare Workers Upstash integration. | Exact payloads, commands, or snippets shown in A text example demonstrating the use of the Redis CLI command to set a key-value pair within a Cloudflare Workers Ups... |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-4.text | An example showing how to set an environment variable for a Redis connection string within a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in An example showing how to set an environment variable for a Redis connection string within a Cloudflare Workers project. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-5.text | Commands to add Upstash Redis REST URL and token as secrets to a Cloudflare Worker using Wrangler. | Exact payloads, commands, or snippets shown in Commands to add Upstash Redis REST URL and token as secrets to a Cloudflare Worker using Wrangler. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-6.text | The npm installation command required to add the Upstash Redis client to a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The npm installation command required to add the Upstash Redis client to a Cloudflare Workers project. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-7.text | The yarn command required to add the @upstash/redis package to a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The yarn command required to add the @upstash/redis package to a Cloudflare Workers project. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-8.text | The pnpm command required to add the Upstash Redis client package to a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The pnpm command required to add the Upstash Redis client package to a Cloudflare Workers project. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-9.text | The bun package manager command required to install the Upstash Redis client for Cloudflare Workers. | Exact payloads, commands, or snippets shown in The bun package manager command required to install the Upstash Redis client for Cloudflare Workers. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-10.text | A Cloudflare Worker script demonstrating how to use the @upstash/redis/cloudflare library to retrieve and store values in a Redis database using environment variables. | Exact payloads, commands, or snippets shown in A Cloudflare Worker script demonstrating how to use the @upstash/redis/cloudflare library to retrieve and store value... |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-11.text | A command-line instruction using wrangler to add a QStash token as a secret to a Cloudflare Worker. | Exact payloads, commands, or snippets shown in A command-line instruction using wrangler to add a QStash token as a secret to a Cloudflare Worker. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-12.text | The npm installation command for the @upstash/qstash package used within Cloudflare Workers. | Exact payloads, commands, or snippets shown in The npm installation command for the @upstash/qstash package used within Cloudflare Workers. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-13.text | The yarn command required to add the @upstash/qstash package to a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The yarn command required to add the @upstash/qstash package to a Cloudflare Workers project. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-14.text | The pnpm command required to add the @upstash/qstash package to a Cloudflare Workers project. | Exact payloads, commands, or snippets shown in The pnpm command required to add the @upstash/qstash package to a Cloudflare Workers project. |
examples/workers-databases-third-party-integrations-upstash-cloudflare-workers-up-15.text | The command to install the Upstash QStash package using the Bun package manager for Cloudflare Workers. | Exact payloads, commands, or snippets shown in The command to install the Upstash QStash package using the Bun package manager for Cloudflare Workers. |
What This Skill Covers
- Upstash ↗ is a serverless database with Redis\ and Kafka API. Upstash also offers QStash, a task queue/scheduler designed for the serverless.
- Main sections:
Upstash for Redis,Upstash QStash.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/databases/third-party-integrations/upstash
