[← All integrations](/getting-started) Install · Experimental # Netlify Edge Functions experimental · edge Same edge core, different shell (Deno). Customers migrating off Netlify's deprecated prerender service install this way. **Start here first.** Every platform recipe below assumes the canonical Express + Docker install at [/install/express-docker](/install/express-docker). The snippets on this page are the platform-specific deltas on top of that baseline. Netlify Edge Functions run on Deno — same `agentsite-edge.mjs` core, different shell. terminal — download + wirecopy ``` # Netlify — drop into netlify/edge-functions/ mkdir -p netlify/edge-functions curl https://api.agentsite.app/agentsite-edge.mjs \ > netlify/edge-functions/agentsite-edge.mjs curl https://api.agentsite.app/edge/netlify-edge-function.ts \ > netlify/edge-functions/agentsite.ts # Plus this in netlify.toml: # [[edge_functions]] # function = "agentsite" # path = "/*" ``` Set `AGENTSITE_TOKEN` and `AGENTSITE_SITE` in your Netlify site's Environment Variables (Site → Build & deploy → Environment). Deploy. **Netlify deprecated their built-in prerender service in January 2026.** Customers on the old prerender flow are migrating exactly this way — edge function + AgentSite. [← All integrations](/getting-started#by-hand) · [Need help with this recipe? →](/contact) Cookies We use cookies to make this site work and to understand how it's used. [Learn more](https://www.cookiesandyou.com/) Decline Got it