Overview
MonoCloud's Next.js SDK provides the tools to protect routes, authenticate users, and manage user sessions in your Next.js application.
This guide offers reference materials to help you integrate MonoCloud's Next.js SDK into your application.
Quickly set up a demo app
The fastest way to see MonoCloud in action with Next.js is to follow one of our quickstart guides:
When you're ready to build your own Next.js application with MonoCloud, follow our detailed guides below.
Prerequisites
The first step to using MonoCloud with Next.js is to follow the installation and configuration guide. This will set you up with:
- A new Next.js application
- A MonoCloud account
- A web application set up in your MonoCloud account
- The MonoCloud Next.js SDK installed in your Next.js application
- The environment variables needed to connect your Next.js application to MonoCloud
Next, choose between the App Router or Page Router guides, depending on your Next.js application setup.
App router guides
Using MonoCloud with the Next.js App Router:
Page router guides
Using MonoCloud with the Next.js Page Router: