If you need to provide temporary access to your Magento store for someone like a developer, follow the method below to create a new admin account. This approach is much safer than sharing your personal login details and allows you to quickly disable the account when it’s no longer required.
Add User Role
If you want to give the user full admin access, you can go straight to step 2: Add User, without the need to create a specific role. Keep in mind that this will grant the new user full administrative privileges, allowing access to all essential areas of your store. Be cautious when assigning the Administrator role.
1. Log in to your Magento dashboard.
2. On the left, click System > User roles.

3. Click Add New Role.

4. On the New Role page, enter the desired name in the Role Name field and your current password in the Current Admin Password field.

5. On the left, click Role Resources. From the Resource Access drop-down list, select Custom if not already selected. Assign permissions as desired.

6. Click Save Role.

Add User
1. On the left, click System > All Users.

2. Click Add New User.

3. On the New User page, fill in all fields in the Account Information and Current User Identity Verification sections.

4. In the User Information section, click User Role.

5. In the Assigned column, select the check box corresponding to the role you created in the “1: Add user role” section. If you want to grant complete admin access, select the Administrators check box.

6. Click Save User. If the procedure was successful, you will now see the admin user represented in the User list on the User page.