TGR5 agonists of structural formula VIII(Q), wherein X, R1, R2, and R5 are defined in the specification, pharmaceutically acceptable salts thereof, compositions thereof, and use of the compounds and compositions for treating diseases. The invention also comprises use of the compounds in and for the manufacture of medicaments, particularly for treating diseases.La présente invention concerne des agonistes de TGR5 de formule développée VIII(Q), où X, R1, R2, et R5 sont définis dans la description, leurs sels pharmaceutiquement acceptables, des compositions les contenant, et l'utilisation des composés et des compositions pour traiter des pathologies. L'invention concerne également l'utilisation des composés dans et pour la fabrication de médicaments, particulièrement pour traiter des pathologies.