Involved in the biosynthesis of sterol glucoside. Can use different sterols such as cholesterol, sitosterol, and ergosterol as sugar acceptors. a sterol + UDP-alpha-D-glucose = a sterol 3-beta-D-glucoside + H(+) + UDP Belongs to the glycosyltransferase 28 family.