C15T Logo

Hosted

Use consent.io for an easy, managed consent storage solution with minimal setup

tocOn this page

Managed Service vs Self-Hosting

Using consent.io is the easiest way to get started with c15t. It's a fully managed service that removes all the infrastructure complexity. You can focus on your application while we handle scaling, updates, and compliance monitoring. For organizations with specific requirements, we also offer self-hosting options.

Implementation

app/layout.tsx
import { 
  ConsentManagerDialog,
  ConsentManagerProvider,
  CookieBanner,
} from '@c15t/nextjs';

export default function Layout ({ children }: { children: ReactNode }) => {
  return (
      <ConsentManagerProvider
        options={{
          mode: 'c15t',
          backendURL: '/api/c15t',
          consentCategories: ['necessary', 'marketing'], // Optional: Specify which consent categories to show in the banner.
          ignoreGeoLocation: true, // Useful for development to always view the banner.
        }}
      >
        <CookieBanner />
        <ConsentManagerDialog />   
        {children}
      </ConsentManagerProvider>
  );
};

Using consent.io

Info

Congratulations, you've chosen the best way to deploy to production!


consent.io provides a fully managed service that removes all the infrastructure complexity. You can focus on your application while we handle scaling, updates & analytics. For organizations with specific requirements, it is possible to self-host the backend, allowing you to have full control over your data.

Key Benefits

  • Zero Backend Maintenance - No server setup or management required
  • Automatic Updates - Easy updates & migrations to new versions
  • Built-in Scaling - Handles traffic spikes without configuration
  • Geographic Detection - Built-in jurisdiction detection for compliance
  • Analytics Dashboard - Insights into consent patterns and compliance

Creating an instance with consent.io

Sign up for a consent.io account

Create a new instance in the dashboard

For production applications, we recommend enabling usage billing so you can configure your instance to only allow trusted origins to send requests to it.

Copy the provided backendURL (e.g., https://your-instance.c15t.dev)