I want to proove that the vector potential created by a magnetic moment $\vec{m}$ is $$\vec{A}(\vec{r}) = \frac{\mu_{0}}{4\pi} \frac{\vec{m} \times \vec{u}}{r^2}$$ by using the formula $$\vec{A} = \frac{\mu_{0}}{4{\pi}} \int \frac {\vec{j} (\vec{r}')} {\lvert \vec{r} - \vec{r}' \rvert} \mathrm{d} \vec{r}'.$$
My idea was to consider a loop of current $ I = \frac{m}{\pi r^2} $ with r the radius of the loop. I then have: $$ \vec{j}(\vec{r}') = \frac{I}{2\pi r} \vec{u}_{\theta} = \frac {m}{2\pi^2 r^2} \vec{u}_{\theta}$$
By using the formula $$\vec{A} = \frac{\mu_{0}}{4{\pi}} \frac {m}{2\pi^2 r^2} \int_{0}^{2\pi} \frac {1} {\lvert \vec{r} - \vec{r}' \rvert} \mathrm{d} \vec{r}',$$ but I don't know how to continue.