You're talking about a dog license, right? Beagle is not a large breed and does not need special approval. Just apply according to the routine.
The processing procedures and prices in different regions are different.
I don't know which city you are from.
I'll give you a rough basic process:
The process is to go to the local police station to get the dog license application form, then stamp the street where you live (in some urban markets, five neighbors need to agree to sign), and finally go to the dog management department of the local public security bureau to apply for a certificate.