Self-service portal (admin portal) quickstart
Prerequisite: Complete Frontegg Authentication integration.
Prerequisite: Complete Frontegg Authentication integration.
If you haven't integrated Frontegg login into your application, please integrate it before moving to the Admin Portal integration.
Embedded self-service portal
import { AdminPortal } from "@frontegg/nextjs";
const handleClick = () => {
AdminPortal.show();
};
<div>
<button onClick={handleClick}>Settings</button>
</div>
Hosted self-service portal
Hosted self-service portal
Note that hosted self-service portal is not supported with Next.js at this time.
You are good to go! The self-service portal should now be shown and you are on the part for a full self-served experience on your product.