Docs/ people/ Install Server-Side Observation
guidev1stableVerified 2026-08-01

Install Server-Side Observation

Add the supported Vercel middleware integration and verify that SeeLLM receives request evidence.

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.
  1. Follow the Vercel Middleware integration 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.