Skip to content
masterclass Buddy

Arcjet · Concept

Astro

Arcjet protects dynamic Astro routes at request time. Install the Astro integration, configure rules and ARCJET_KEY, then call protect from arcjet:client.

Last updated

Syntax

const decision = await aj.protect(request, options);

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • @arcjet/astro
  • arcjet:client
  • shield
  • detectBot
  • tokenBucket
  • fixedWindow
  • filter
  • cloudflare

Source: Get started with Astro | Arcjet Docs. Checked 2026-11-03.