We consider group actions on compact median algebras. We show that, given a generating probability measure μ on the acting group and under suitable conditions on the median algebra, it could be realized in a unique way as a μ-boundary in the sense of Furstenberg. Along the way, we prove some structural results.