Described herein are compounds of Formula (I) or a pharmaceutically acceptable salt thereof. The compounds of Formula I act as Cyp8b1 inhibitors and can be useful in preventing, treating or acting as a remedial agent for diabetes and cardiovascular disease.