Let $p \equiv 2 \mod{3}$. For any $a \in Z$ such that $ p \nmid a$ , show that there exists $x \in \mathbb{Z}_p$ with $x^3 = a$.
I've tried using Hensel's lemma and the fact that if $p \equiv 2 \mod{3}$ then the map $x \mapsto x^3$ is a bijection in $\mathbb{F}_p$ but have got stuck.
This is the easy case for modular cube roots (assuming you mean $a \in \mathbb{Z}_p)$. The explicit solution for $a \in \mathbb{Z}_p, a\ne 0$ is $x=a^{\frac{2p-1}{3}}.\,$ First note that $3|2p-1$ and $a^p=a.$ Now the easy calculation
$$x^3 = \left(a^{\frac{2p-1}{3}}\right)^3 = a^{2p-1}=(a^p)^2a^{-1}=a^2a^{-1}=a$$