> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qa.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Vercel Firewall

> Allow QATechBot traffic through the Vercel Firewall with a custom bypass rule

When your app is hosted on Vercel, the **Vercel Firewall** (WAF) can block QA.tech before your application runs. QA.tech identifies as [**QATechBot**](https://docs.qa.tech/bot.md) in the `User-Agent` header—you can add a firewall rule to **bypass** security checks for that traffic.

> [!NOTE]
>
> This is separate from **[Vercel Preview
> Protection](https://docs.qa.tech/configuration/vercel-preview-protection.md)** (password protection,
> Vercel Authentication, deployment protection). Use this page for **Firewall /
> WAF** rules; use the preview guide for protected preview URLs.

## Allow QATechBot with a custom rule

Create a custom firewall rule in your Vercel project that bypasses remaining rules when the User-Agent contains `QATechBot`:

**1. Open Firewall settings**

In the [Vercel dashboard](https://vercel.com), open your project → **Firewall** (or **Security → Firewall**).

**2. Add a custom rule**

Create a new custom rule with these settings:

| Field | Value |
| - | - |
| **Name** | `Allow QATechBot traffic` |
| **Description** (optional) | `Bypass security rules for QATechBot user agent to allow monitoring and testing` |
| **If** | **User Agent** → **Contains** → `QATechBot` |
| **Then** | **Bypass** |

**3. Publish the rule**

Save and publish the rule. Vercel applies firewall changes globally within seconds—no redeploy required.

![Vercel Firewall custom rule: User Agent contains QATechBot, action Bypass](https://mintcdn.com/qatech/Jqru49Z2IDnMb8xI/images/vercel-firewall-qatechbot-rule.png?fit=max\&auto=format\&n=Jqru49Z2IDnMb8xI\&q=85\&s=08fddc361ee24b9c6e1b8a7b5bf78066)

The **Bypass** action lets matching requests skip subsequent custom firewall rules (challenge, deny, rate limit, etc.) so QA.tech can load pages and run tests.

> [!WARNING]
>
> **User-Agent can be spoofed.** Any client can send `User-Agent:
>     ...QATechBot...`. For stronger assurance, combine this rule with [QA.tech IP
> allowlisting](https://docs.qa.tech/configuration/ip-access-control.md) or validate traffic using [bot
> verification](https://docs.qa.tech/bot.md#verifying-qatechbot-traffic).

## User-Agent reference

QA.tech appends this suffix to browser automation traffic:

```http theme={null}
QATechBot/1.0 (+https://docs.qa.tech/bot)
```

Your rule should match on `QATechBot` (substring), which covers the full automation User-Agent.

## CLI example

You can also add the rule with the [Vercel CLI](https://vercel.com/docs/cli/firewall):

```bash theme={null}
vercel firewall rules add \
  --action bypass \
  --condition "user_agent,sub,QATechBot" \
  --name "Allow QATechBot traffic" \
  --description "Bypass security rules for QATechBot user agent to allow monitoring and testing"
```

Publish staged firewall changes when prompted.

## Related documentation

> [card] [Vercel Preview Protection](https://docs.qa.tech/configuration/vercel-preview-protection.md)
>
> Bypass deployment protection on preview URLs

> [card] [QA.tech Bot](https://docs.qa.tech/bot.md)
>
> User-Agent format and traffic verification

> [card] [IP Access](https://docs.qa.tech/configuration/ip-access-control.md)
>
> Allowlist QA.tech egress IPs

> [card] [Cloudflare WAF & Turnstile](https://docs.qa.tech/configuration/cloudflare-waf-turnstile.md)
>
> Edge blocking and Turnstile on Cloudflare

**External:** [Vercel WAF custom rules](https://vercel.com/docs/vercel-firewall/vercel-waf/custom-rules), [Vercel Firewall CLI](https://vercel.com/docs/cli/firewall)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.