Integrate 1Consent
Consent that fits the way you build
Choose your application framework or AI builder. Get a clear setup path, match your theme and verify what happens before and after a visitor makes a choice.
Application frameworks
Use the React integration or the dedicated Next.js adapter to keep governed markup inert until consent.
React
Keep optional scripts, pixels and embeds behind explicit consent gates. Use reactive consent state in your components and keep the banner consistent with your app.
Public beta: @1consent/react. React 19+; use the explicit @beta release channel.
Next.js
Add consent gates to your App Router layouts and pages while preserving Server Component boundaries. Govern third-party markup without making every rendered page depend on a visitor’s consent cookie.
Public beta: @1consent/nextjs. Next.js 16 with React 19+; install from the explicit @beta channel.
Build with an AI assistant
Give your assistant the configuration for your actual app. Its MCP connection supports development; the CMP runs independently on the published website.
More ways to install
Using plain HTML, WordPress or a tag container? Start with the corresponding integration guide.