Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers External Services

How to connect Cloudflare Workers to external APIs using Node-compatible libraries and securely managing credentials via Wrangler secrets or mTLS certificates.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers External Services

How to connect Cloudflare Workers to external APIs using Node-compatible libraries and securely managing credentials via Wrangler secrets or mTLS certificates.

When To Use

Use when you need to securely store API keys in a Worker environment or configure mTLS authentication for external service communication.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-configuration-integrations-external-services-workflow-guide.mdA guide explaining how to integrate external services and SDKs within Cloudflare Workers, including compatibility considerations for Node.js libraries.Questions about a guide explaining how to integrate external services and SDKs within Cloudflare Workers, including compatibility con...
examples/workers-configuration-integrations-external-services-cloudflare-workers-.textA command-line instruction demonstrating how to use the Wrangler CLI to securely store secrets for Cloudflare Workers.Exact payloads, commands, or snippets shown in A command-line instruction demonstrating how to use the Wrangler CLI to securely store secrets for Cloudflare Workers.
examples/workers-configuration-integrations-external-services-cloudflare-workers--2.textA code snippet demonstrating how to access external service credentials using environment variables within a Cloudflare Worker.Exact payloads, commands, or snippets shown in A code snippet demonstrating how to access external service credentials using environment variables within a Cloudfla...

What This Skill Covers

  • Many external services provide libraries and SDKs to interact with their APIs. While many Node-compatible libraries work on Workers right out of the box, som...
  • Main sections: Authentication.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/configuration/integrations/external-services