Lumen
Integrations

NextJS

Integrate Lumen with NextJS

Overview

You only need to do this if you want to use our built-in UI Components Pricing Table, Usage Badge.

If you are using NextJS, you will need to add a dedicated handler under api/lumen/[...all]/route.ts.

Available Auth Provider Integrations

We have code snippets that you can copy & paste based on the auth provider you are using: