I am a Canadian PR and would like to work for a US company. how will that work? How can they pay me as I will be working from Canada (Remotely)? How does the taxes work?

I am a canadian resident and I got the offer from a US company to work for them remotely from Canada. I need to know how would this arrangement work? What kind of setup will be needed? Independent Contractor or Sole Business owner or something else? How will my taxes work in Canada? What kind of documents I will need from the US Company? Does the US company need to provide me 1099 or they can use 1042 & 1042-S ? Please help me out here.