The invention provides a compound of formula (I):
or a salt thereof, wherein R
1
, R
2
, R
3
, R
4
and R
6
have any of the values described in the specification, as well as compositions comprising a compound of formula (I). The compounds are agonists of the TGR5 receptor.