I would like to understand the stack $[X/G]\to\mathfrak{Sch}$, where $X$ is a scheme and $G$ is an algebraic group acting on it. I found two descriptions of this groupoid, but I am unable to relate them, so any help in this direction would be appreciated.
First description (the most popular). An object in $[X/G]$ is a principal $G$-bundle $\pi:E\to B$ together with a $G$-equivariant map $f:E\to X$. A morphism is the obvious cartesian square of bundles, plus the compatibility between the equivariant morphisms.
Second description. There is an object $\underline x$ of $[X/G]$ for every point $x$ of $X$. And there is a morphism $\underline x'\to\underline x$ exactly when there is some $g\in G$ such that $x'=gx$, or in other words, when Orb$(x)=$ Orb$(x')$.
Question. How to see that these two descriptions are equivalent (that is, they describe the same stack over $\mathfrak{Sch}$)? Also, I do not even see how to define the groupoid fibration over $\mathfrak{Sch}$, in the second case.
Of course, any insight that may help to better understand this object is welcome.
Thank you!