Catalysis of the reaction: 3'-phosphoadenylyl sulfate + alpha-D-glucosaminyl-(heparan sulfate)(n) = 3-sulfo-alpha-D-glucosaminyl-(heparan sulfate)(n) + adenosine 3',5'-bisphosphate + H+. The (heparan sulfate)-glucosamine 3-sulfate has a substrate consensus sequence of Glc(N2S>NAc)+/-6S GlcA GlcN2S*+/-6S GlcA>IdoA+/-2S Glc(N2S/NAc)+/-6S.
3\'-phosphoadenylyl-sulfate:-glucosamine 3-sulfotransferase