Admin Dashboard
The admin dashboard gives you access to a portal where you can manage your products, orders, subscriptions, blog posts, uploads, product reviews and users/customers.
Setup
- Start by adding the
ADMIN_EMAIL
andAUTH_SECRET
to.env.local
.env.local
ADMIN_EMAIL=username@your-email-domain.example # Add your admin email here
AUTH_SECRET= # Add your auth secret here by using a random 43 characters string or generate one here https://jwtsecret.com/generate
- Start with one of these two methods and comeback here
- Navigate to
/auth/connect
- Register with the
ADMIN_EMAIL
using one of the methods you have setup instep 2
🎉 You are now an admin user! access the dashboard here.
Note
Make sure you verify your email in case you chose email/password registration by opening your inbox and clicking the verification link.