Ontify
Catalysis of the reaction: 4-hydroxybenzoate + UDP-D-glucose = 4-(beta-D-glucosyloxy)benzoate + H(+) + UDP.