Next.js Quick Start
Install the npm package
@highlight-run/next in your terminal.
Grab your project ID from app.highlight.io/setup, and set it as the
projectID in the
If you're using the original Next.js Page router, drop
<HighlightInit /> in your
_app.tsx file. For the App Router, add it to your top-level
See our fullstack Next.js guide for more information on how to use Highlight with Next.js.