# Create Vercel Firewall rules with natural language

**Published:** May 12, 2026 | **Authors:** Yash Kothari

---

[Video: Light Mode Recording](//videos.ctfassets.net/e5382hct74si/39jsansuZ0lyaLT3RLeeOw/218781abb98db6c0274d6b8d3a04bcf3/Light_Mode_More_Zoom.mp4)

[Vercel Firewall](https://vercel.com/docs/vercel-firewall) now lets you create WAF custom rules using natural language. Describe the behavior you need and the dashboard will generate the rule.

Visit the [firewall custom rules page](https://vercel.com/d?to=%2F%5Bteam%5D%2F%5Bproject%5D%2Ffirewall%2Fconfigure%2Frule%2Fnew) to try creating a rate-limiting rule:

Or use the Vercel CLI:

```bash
vercel firewall rules add --ai "Rate limit /api to 100 requests per minute by IP"
```

[WAF custom rules](https://vercel.com/docs/vercel-firewall/vercel-waf/custom-rules) let you control traffic to your site by logging, blocking, challenging, rate limiting, or redirecting requests based on conditions like IP address, path, country, user agent, and more.

For example, you can:

- Log all requests to `/api/webhook` with a missing authorization header
- Block all requests to `/wp-admin`
- Challenge all traffic to `/checkout` that doesn't come from the US

[Generate your first rule](https://vercel.com/d?to=%2F%5Bteam%5D%2F%5Bproject%5D%2Ffirewall%2Fconfigure%2Frule%2Fnew) or learn more in the [documentation](https://vercel.com/docs/vercel-firewall/vercel-waf/custom-rules#create-a-rule-with-natural-language).

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)