Arcjet helps developers protect their apps in just a few lines of code. Bot detection. Rate limiting. Email validation. Attack protection. Data redaction. A developer-first approach to security.
This is an example Next.js application demonstrating how to protect a Next.js site from bots.
- Bot protection shows how a page can be protected from automated clients.
-
Install dependencies:
npm ci
-
Rename
.env.local.example
to.env.local
and add your Arcjet key. -
Start the dev server
npm run dev
- Open http://localhost:3000 in your browser.
Check out the docs, contact support, or join our Discord server.