For a marked surface Σ and a semisimple algebraic group G of adjoint type, we study the Wilson line function g [c] : P G,Σ → G associated with the homotopy class of an arc c connecting boundary intervals of Σ. We show that g [c] defines a morphism of algebraic stacks with respect to the algebraic structure on P G,Σ investigated by Shen [She20]. Combining with Shen's result, we show that the cluster Poisson algebra with respect to the natural cluster Poisson structure on P G,Σ coincides with the ring of global functions with respect to the Betti structure. Moreover we show that the matrix coefficients c) give Laurent polynomials with positive integral coefficients in the Goncharov-Shen coordinate system associated with any decorated triangulation of Σ, for suitable f and v. Pt G,Σ after Claudius Ptolemy, is isomorphic to the cluster Poisson algebra [She20, Theorem 1.1]. Here is our first result: Theorem 1 (Theorem 3.18). The Wilson line along an arc class [c] : E in → E out defines a morphism g [c] : P Pt G,Σ → G of Artin stacks. Given a free loop |γ| on Σ, by cutting the surface along an edge that intersects |γ| we get another marked surface and an arc class [c] obtained from |γ|. Based on this obsevation, one can deduce: Theorem 2. The Wilson loop along a free loop |γ| ∈ π(Σ) defines a morphism ρ |γ| : P Pt G,Σ → [G/AdG] of Artin stacks. Here [G/AdG] denotes the quotient stack of G with respect to the conjugation action on itself. As a direct consequence of Theorem 1, we can compare the two stack structures on P G,Σ : Theorem 3 (Theorem 3.25). We have an open embedding P Pt