Whats the proper way to add a new user via a front end form?

I think you’re looking for a function but might also want to look at Gravity Form’s solution for this: https://www.gravityforms.com/add-ons/user-registration/