Osteocalcin synthesis is regulated by various factors, including vitamin K, vitamin D, and certain hormones. Vitamin K is particularly important as it carboxylates the glutamic acid residues in osteocalcin, enabling it to bind to hydroxyapatite. Vitamin D, through its active form calcitriol, promotes the expression of the osteocalcin gene in osteoblasts.