Integrations

CDN delivery: Cloudflare, Fastly and Akamai

Connect Cloudflare, Fastly or Akamai as the delivery layer for AI Auto-Fix: what each one installs, the access it needs, its limits, and how to disconnect.

11 min read

A CDN connection is the delivery layer for AI Auto-Fix: CiteCue installs edge code in front of your site so AI crawlers receive the optimized pages it wrote. This page covers what each CDN installs, the access it needs, and how to remove it.

What the delivery layer does

On every CDN, the edge code answers AI crawlers with your optimized pages and serves your llms.txt; other requests go through to your site. The rest depends on the CDN:

Cloudflare Fastly Akamai
Status Live Experimental Experimental
Setup One click, no credentials Paste an API token Paste API credentials, then one manual step
SEO markup for every visitor Yes No No
Answer-page sitemap (/citecue-sitemap.xml) Yes No No
Crawler hits shown on AI readiness › Crawler traffic Yes Not yet Not yet
Publishes Calendar articles on your domain Yes, with the one-click install No No

On Fastly and Akamai, the app says: "Agent traffic reports nothing for this provider yet: its edge routes to Citecue but never records a crawler hit, so the counts and Top pages table stay empty."

Who can connect

A project admin or the organization owner. Connecting, Retry install, redeploying, Verify, Detect again and Disconnect all need that role.

Connect your CDN

  1. Open Integrations in your project and click Connect on the CDN delivery card.
  2. In Connect your CDN, pick your provider under Your CDN. CiteCue checks which CDN serves your domain and pre-selects it ("Detected Cloudflare on example.com at last check"). Detect again re-checks.
  3. Click Connect Cloudflare, Connect Fastly or Connect Akamai.

Once connected, the card carries the provider's name, a status badge (Installing, Connected, One step left, Failed or Reconnect) and Manage, which reopens the modal.

Cloudflare

Your site must already use proxied Cloudflare DNS (the orange cloud), and its zone must be in the Cloudflare account you authorize. Connect Cloudflare opens Cloudflare's own consent screen, so you never hand CiteCue a credential. After you approve, Integrations shows "Cloudflare connected" while it sets up.

Permission Used for
zone.read Finding your zone by its domain.
workers-scripts.write Uploading the Worker.
workers-routes.write Attaching the Worker's routes.

CiteCue deploys a Worker named citecue-autofix- followed by your project key without its cc_pub_ start, on the routes example.com/* and www.example.com/* (only the first if your project domain starts with www.). It doesn't change your DNS. Every project gets its own Worker, so several projects can share one Cloudflare account.

A Worker installed before 5 November 2026 had a shorter name, citecue-autofix-cc_pub_ and one more character. CiteCue's next automatic redeploy moves your routes to the new Worker and leaves the old one in your account with no routes, where it does nothing. Delete it in Cloudflare under Compute (Workers) once no other CiteCue project in that account still uses that name.

If your site is itself served by a Cloudflare Worker, CiteCue installs in front of it without asking: CiteCue's Worker runs first and passes every request it doesn't answer itself through to yours, the modal says which Worker it runs in front of, and disconnecting hands the route back. If your domain's hostnames point at two different Workers, the install stops and leaves your site as it is, because there is no single site to pass requests to; contact CiteCue and we'll set up the connection with you. If you later point one hostname of a working install at a Worker of your own, CiteCue's next redeploy leaves that hostname to your Worker and keeps serving the others.

When CiteCue updates its Worker code, it redeploys a one-click install itself, and the modal says "Citecue automatically redeployed this Worker on {date} to bring it up to date." Redeploy Worker does the same on demand. It also redeploys when you turn Help AI and search engines find your answer pages on or off, because the Worker carries that setting. If CiteCue's Cloudflare authorization expires or is revoked, the badge reads Reconnect; click Reconnect in the modal and approve again.

Publish Calendar articles on your site

With the one-click install, articles you approve on Optimize › Calendar can go live on your own domain, at https://example.com/blog/article-name. This needs the one-click install: a manual Worker, Fastly and Akamai can't publish articles. If WordPress is also connected, the WordPress plugin publishes them instead.

  • Choose the address. In the Calendar's Publishing settings, set Article address to blog, articles, insights or resources, or type your own (one or two lowercase words, such as resources/guides). If you never choose, CiteCue uses the first of those four that your site doesn't already use, so /blog/ when you have no blog.
  • CiteCue checks your site first. It refuses an address under which your site answers every URL, and asks you to try again if it can't reach your site. An address that already has pages of yours is fine.
  • Your own pages always win. The Worker asks your site first, and shows a CiteCue article only at an address your site doesn't have, to people and AI crawlers alike. Your real pages under that address are never replaced.
  • The Worker updates itself. A new address means a Worker redeploy. Until it lands, approved articles wait as Scheduled and the editor reads "Updating your Cloudflare Worker"; nothing is lost. Articles that are already live keep their address when you change the setting, and CiteCue keeps up to five addresses at once.
  • Update and remove. Update on site puts an edited article live at the same address. Remove from site, in the article editor, takes it off your site: the address answers "not found" again and the article goes back to approved.

While Help AI and search engines find your answer pages is on, published articles also appear in your answer-page sitemap and in a section index at the address's root, unless your own site already has a page there.

While Tell Bing about new answer pages and articles right away is on, CiteCue also tells Bing through IndexNow when an article goes live, when Update on site changes it (at most once every ten minutes), and when you remove it.

Install manually instead

The modal's Install manually instead section lists five steps: create a Worker in the Cloudflare dashboard, paste the Worker code shown (your project key is already in it), deploy, add the two routes, then click Verify. CiteCue can't redeploy a manual install for you.

Fastly and Akamai (Experimental)

Neither can add SEO markup for visitors ("The all-traffic SEO tag injection needs response-body rewriting, which only Cloudflare Workers support."). Both send only AI crawlers to CiteCue, so answer pages reach crawlers but don't open in a browser. A fix that adds a section to one of your own pages reaches AI crawlers only where CiteCue already serves an optimized copy of that page; elsewhere the fix reads Not served. Credentials are encrypted at rest and never shown again. If one stops working, the modal says CiteCue "can no longer authenticate" and asks for a fresh one.

Fastly

  • Fastly API token: scope "global", limited to the service that serves your domain. CiteCue clones and activates a new service version, which a read-only (global:read) or purge-only token can't do. A global token also carries the account-level permissions of the user who created it, so create it as a Fastly automation token or from a user with the least privileged role that can edit that service.
  • Service ID (optional): only needed if the token can see several services serving the domain.

CiteCue clones your service's active version and adds a CiteCue backend, used only for requests its VCL snippets route there: AI crawlers and /llms.txt. Then it activates the new version. Your own backend stays the default for everything else. Fastly keeps CiteCue's answers for up to a minute, so an approved or undone fix reaches AI crawlers within about a minute. Every hour, CiteCue also checks that your site's /llms.txt still comes from CiteCue. If it stops, for example after a rolled-back version, CiteCue redeploys once by itself. If that doesn't bring it back, a site-health incident opens and your fixes stop showing as live. To roll back, re-activate your previous version in Fastly.

Akamai

Fields: Host, Client token, Client secret and Access token from an Akamai API client, plus optional Account switch key, Group ID and Contract ID. Give the API client read-write access to EdgeWorkers and Property Manager.

CiteCue uploads and activates an EdgeWorker, then adds two rules to the property that serves your domain. It saves them as a new version on top of the one live in production, and activates it on production. Your staging network is left as it is. The badge reads Activating until Akamai finishes, usually within 40 minutes. CiteCue checks by itself and your fixes go live with no Verify needed. If you activate a version of your own meanwhile, CiteCue rebuilds on yours instead of replacing it. The two rules:

  • Citecue AI delivery runs the EdgeWorker for GET and HEAD requests to /llms.txt and from the AI crawler user agents listed, on requests without an X-Citecue-Bypass header. Form submissions and other writes go straight to your origin. It leaves out static files such as PDFs, images and sitemaps: an EdgeWorker can relay at most 5 MB from your origin, so a large file would fail.
  • Citecue delivery origin, the last rule of the property, sends /citecue-delivery/* to CiteCue. Akamai only lets an EdgeWorker call hostnames your property serves, so this path is how it reaches CiteCue.

If CiteCue can't edit the property (the credential has no Property Manager access, or it can't find the property for your domain), the badge reads One step left, with the reason and Show the steps for adding both rules yourself. Then click Verify once Akamai has activated your version.

Sites on hosted platforms

Shopify, Wix, Squarespace, BigCommerce, Duda, Framer and HubSpot CMS serve sites from their own CDN accounts. For those the modal says "AI Auto-Fix can't deliver to {Platform} sites yet" and offers Open your fixes, which opens Optimize › Home, where each fix has steps for applying it by hand.

A Webflow site can use Cloudflare only, through your own Cloudflare account: the domain must be on your zone with proxied CNAMEs to cdn.webflow.com, which Webflow calls Orange-to-Orange. The modal checks your DNS, says what it found, and has Check again.

Disconnect

Disconnect is in the modal's footer once the install is Connected (or One step left on Akamai), and also when it Failed or needs Reconnect, so you can always back out. It removes what CiteCue added:

  • Cloudflare: removes the Worker's routes (or hands them back to your own Worker), deletes the Worker and revokes CiteCue's authorization.
  • Fastly: activates a new version without CiteCue's snippets. Your other changes stay.
  • Akamai: removes the two rules CiteCue added (on a new property version), then deactivates and deletes the EdgeWorker. Rules you added by hand stay until you remove them.

The connection and any stored credential are deleted even if a cleanup call to your CDN fails. If CiteCue's Cloudflare authorization no longer works, it can't reach your account to remove anything: the message after Disconnect names the Worker to delete yourself, and, if CiteCue was running in front of your own Worker, the routes to point back to it before you do. On Fastly and Akamai the message says what is still on your CDN and how to remove it. Fastly and Akamai have no authorization to revoke, so delete or rotate the token in your own dashboard. Fixes that were resolved because they were live reopen.

Error messages

Messages show your domain where this table shows example.com.

Message CDN
Cloudflare authorization was cancelled. Cloudflare
Could not complete the Cloudflare authorization — please try again. Cloudflare
We couldn't find example.com in the Cloudflare account you authorized — pick the account that owns this zone and try again. Cloudflare
A route on example.com/* already points at another Worker. Remove it in Cloudflare (Workers → your worker → Domains & Routes), or if you installed Citecue manually before, delete that old route — then Retry. Cloudflare
Your Cloudflare authorization expired or was revoked — reconnect to continue. Cloudflare
No active Fastly service serving example.com was visible to that API token. Check the token's service access, or paste the service ID on the connect form. Fastly
More than one Fastly service serves example.com. Paste the service ID you want Citecue installed on so we don't guess. Fastly
That Fastly service has no activated version to clone. Activate a version in Fastly first, then retry. Fastly
Your Fastly service changed while Citecue was updating it, so nothing was activated. Retry once you have finished editing it. Fastly
That Akamai credential can't see a group with a contract. Give its API client read access to Property Manager, or paste a group ID. Akamai
EdgeWorkers does not appear to be enabled on this Akamai contract — ask your Akamai account team to add it, then retry. Akamai
Installing the Worker failed. Try again, or use the manual setup below. Any (names the VCL snippets or EdgeWorker on Fastly and Akamai)

Next steps

When you arrive from a fix, Check compatibility asks you to confirm a usable connection and account access; it does not promise that a detected CDN belongs to you. Back to fixes preserves your place. Drafts still need approval, while previously approved work waiting for delivery may resume after setup.