The application refers to compounds of formula A: (see Formula) or a salt, solvate, ester, tautomer, amino acid conjugate or metabolite thereof. The compounds of formula A are modulators of TGR5 useful for the treatment of various diseases, including metabolic disease, inflammatory disease, autoimmune disease, heart disease, kidney disease, cancer and gastrointestinal disease.