In this paper, we show the scattering of the solution for the focusing inhomogenous nonlinear Schrodinger equation with a potential begin{align*} ipartial_t u+Delta u- Vu=-|x|^{-b}|u|^{p-1}u end{align*} in the energy space $H^1(mathbb R^3)$. We prove a scattering criterion, and then we use it together with Morawetz estimate to show the scattering theory.