Skip to Content
SnapVibrSnapVibrDocs
Integrations

Cloudflare Worker

Deploy the SnapVibr AI-Ready edge integration on Cloudflare Workers with one click or manual script upload.

Cloudflare Worker

The SnapVibr Cloudflare Worker intercepts AI crawler requests at the Cloudflare edge and serves clean semantic HTML with your Brand Grounding and Schema.org JSON-LD, while human visitors pass through to your origin site untouched.

Option 1: Guided One-Click Deployment (Pro and Agency Scale)

From Dashboard > AI Visibility > Edge Deployment:

  1. Enter your Cloudflare API Token (with Workers Scripts Edit and Zone Workers Routes Edit permissions).
  2. Click Test Token to verify your Account ID and Zone ID.
  3. Click Deploy Worker. SnapVibr deploys the worker script and attaches the route to your domain automatically, with fail-open routing and one-click rollback.

Option 2: Manual Worker Setup

Pro and Agency Scale plans can download the pre-configured worker script directly from Edge Deployment:

  1. Click Download Worker Script to download snapvibr-<domain>.js.
  2. In your Cloudflare Dashboard under Workers & Pages, upload the script.
  3. Set SNAPVIBR_SITE_ID and SNAPVIBR_API_KEY from Edge Deployment as environment variables on the worker.
  4. Attach the worker route to your domain (yourdomain.com/*).

Verifying Delivery and Purging Cache

  • Open AI Page Preview / Validator in your dashboard to simulate an AI crawler request and confirm AI-Ready delivery.
  • After updating Brand Grounding facts or route exclusions, click Purge Edge Cache in Edge Settings so the worker serves the updated content immediately.

On this page