International audienceContext. Accurate astrometry achieved by Gaia for many stars in the Milky Way provides an opportunity to reanalyse the Galactic stellar populations from a large and homogeneous sample and to revisit the Galaxy gravitational potential. Aims. This paper shows how a self-consistent dynamical model can be obtained by fitting the gravitational potential of the Milky Way to the stellar kinematics and densities from Gaia data. Methods. We derived a gravitational potential using the Besancon Galaxy Model, and computed the disc stellar distribution functions based on three integrals of motion ( E , L z , I 3 ) to model stationary stellar discs. The gravitational potential and the stellar distribution functions are built self-co...