# Flagship Edge Worker Integration

Welcome to the Flagship Edge worker Integration Hub! This guide provides a high-level overview of how to integrate **Flagship feature flagging and experimentation** into your edge computing stack using:

* [Cloudflare Workers](https://docs.abtasty.com/server-side/concepts/flagship-edge-worker-integration/flagship-cloudflare-worker-integration)
* [Fastly Compute@Edge](https://docs.abtasty.com/server-side/concepts/flagship-edge-worker-integration/flagship-fastly-computeedge-integration)
* [Vercel Edge Functions](https://docs.abtasty.com/server-side/concepts/flagship-edge-worker-integration/flagship-vercel-edge-function-integration)

Whether you're optimizing performance, personalizing user experiences, or running A/B tests at the edge, Flagship enables you to make real-time decisions closer to your users.

***

## Why Edge + Flagship?

* **Ultra-low latency**: Serve personalized content instantly from the edge.
* **Resilient architecture**: Avoid centralized bottlenecks by caching bucketing data locally.
* **Scalable experimentation**: Run feature flags and A/B tests without sacrificing performance.

***

## Integration Highlights

| Platform                  | SDK Mode         | Bucketing cache           | Analytics Support |
| ------------------------- | ---------------- | ------------------------- | ----------------- |
| **Cloudflare Workers**    | `BUCKETING_EDGE` | KV Storage or Local JSON  | ✅ Yes             |
| **Fastly Compute\@Edge**  | `BUCKETING_EDGE` | KV storage or Local JSON  | ✅ Yes             |
| **Vercel Edge Functions** | `BUCKETING_EDGE` | Edge Config or Local JSON | ✅ Yes             |

***

## Prerequisites

* A Flagship account with API credentials
* Node.js (v18+) and Yarn (v4+)
* Platform-specific CLI tools (e.g., `wrangler`, `fastly`, `vercel`)
* Bucketing data from [Flagship CDN](https://cdn.flagship.io)

***

## Next Steps

Choose your platform to dive into the full integration guide:

* [Cloudflare Worker Integration](https://docs.abtasty.com/server-side/concepts/flagship-edge-worker-integration/flagship-cloudflare-worker-integration)
* [Fastly Compute@Edge Integration](https://docs.abtasty.com/server-side/concepts/flagship-edge-worker-integration/flagship-fastly-computeedge-integration)
* [Vercel Edge Function Integration](https://docs.abtasty.com/server-side/concepts/flagship-edge-worker-integration/flagship-vercel-edge-function-integration)
