# Magnetic vector potential

I have a magnetic field component of the form $B_{\phi} = z \, \sin ^4 (r/a) \, r/a$, and $B_z = b$, I need to evaluate magnetic vector potentials. As we know, $B = \nabla \times A$. How to solve this?