categories – chose category in plugin


I am making a plugin to upload records and I want to put the option to choose category, also I would like those categories to be the ones that are normally created with wordpress, but I don’t know if can

How do I put the option to choose category in the form?