How do you create an admin login function for product management?

I’m creating an admin page to manage my products, I’m using the admin API.
How to create login functionality for Manager? Or do I have to build another server myself to create users with Admin privileges and do the login, and then provide API_Key and Password to these users?

Thank you for your help.