---
title: Install Server-Side Observation
description: Add the supported Vercel middleware integration and verify that SeeLLM receives request evidence.
audience: [human]
type: guide
version: v1
stability: stable
lastVerified: "2026-08-01"
prerequisites: [/docs/integrations/vercel-middleware/]
related: [/docs/evidence-model/, /docs/people/evaluate/, /docs/people/weekly-workflow/]
artifacts: []
---

## Prerequisites

- A Next.js application deployed on Vercel and permission to edit its `middleware.ts` and environment variables.
- A SeeLLM organization with access to `Site Monitor -> Setup -> Vercel / Next.js`.
- Public pages to request after deployment.

## Recommended path

1. Follow the [Vercel Middleware integration](/docs/integrations/vercel-middleware/) to install `@seellm/vercel-middleware` and add `withSeeLLM()`.
2. Generate credentials in `Site Monitor -> Setup -> Vercel / Next.js` and set the documented `SEELLM_*` variables in the matching Vercel environment.
3. Keep the middleware matcher focused on public routes and wrap existing middleware instead of replacing it.
4. Deploy, then request a public page such as `/`, `/pricing`, or `/docs`.

## Expected result

The middleware sends server-side request evidence to SeeLLM without browser JavaScript. Classification of AI crawler and AI referral evidence happens after ingestion; one ordinary browser request does not prove an AI classification.

## Verify

After deployment, request a public URL and check `Site Monitor -> Setup` for adapter activity. If you can inspect the deployed configuration, confirm that `SEELLM_API_URL=https://api.seellm.link` is set only in server-side middleware environment variables.

## Troubleshooting

- If no activity appears, confirm the deployed matcher includes the page you requested.
- If events are rejected, regenerate credentials and update the correct Vercel environment.
- If an existing middleware stops working, use the documented wrapper form rather than replacing its logic.

## Related reference

- [Vercel Middleware integration](/docs/integrations/vercel-middleware/)
- [Evidence Model](/docs/evidence-model/)
- [Reading Weekly Trends](/docs/guides/weekly-trends/)
