Register your admin user
Last updated
Last updated
To access the admin dashboard for managing assets, data, users, and Stripe products, you need to create an admin user. Follow these steps:
When a new user registers in your application, the system automatically performs the following actions:
Creates a new user account in your application's database.
Automatically creates a corresponding Stripe customer for this user.
How ?
Run your application and navigate to the user registration page.
Register a new user account as you would for a regular user.
After registration, you need to manually modify the database to set this user as an admin. Connect to your PostgreSQL database using a database management tool of your choice (e.g., pgAdmin, DBeaver, or the psql command-line tool).
Log out and log back in with this user account. You should now have access to the admin dashboard.
Admin Dashboard Features
Once logged in as an admin, you can access the admin dashboard to:
Create and manage assets
Manage application data
Manage user accounts
Create and configure Stripe products that will be available for purchase by regular users
Remember to exercise caution when using admin privileges, as changes made through the admin dashboard can significantly impact your application and its users.