from out of state Pay the fees, background check, and sales tax. You must show proof of residency by two methods. You're also thumb printed ss part of the registration. You have to also buy a gun lock from the dealer or show proof of purchase of a safe.
If it's a handgun it must be on the list of handguns certified for retail sale listed on the DOJ website by exact model.
There are exceptions to this law such as buying from Law Enforcement or transfer from parent or grandparent. Just because a gun is not in this list doesn't mean it's illegal to own, just can't buy it retail.
Then wait 10 days and then go back and pick up your gun.