![cody alan](https://cdn.statically.io/img/people.com/thmb/eI-D_anLoKHhNnfsX-JBEZoxRcY=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():focal(503x265:505x267)/cody-alan-dda9834a8bba4429976c67a40151e190.jpg)
Cody Alan is opening up about his journey to self acceptance.
The CMT host shares his story in his new book Hear's the Thing (out now), in which he discusses faith, family and how his life changed after he revealed he was gay in a 2017 PEOPLE interview.
Before Alan came out, he first had to reconcile his sexuality with his faith. Alan was raised in southern churches in suburban Columbia, South Carolina, before he converted to Mormonism as a teen. After going on a mission as a young adult, he got married and raised their two children, Makayla and Landon, in the Mormon faith.
![cody alan](https://people.com/thmb/9h1mlgUmRIENycs2Byu7_BjD_5g=/4000x0/filters:no_upscale():max_bytes(150000):strip_icc():focal(771x0:773x2)/cody-alan-mormon-mission-2-2000-c824cf832d174c3aa1e8bf2d2c19b1d0.jpg)
Alan knew he was gay from a young age. After years of struggling, he came out to his wife, Terresa, in 2009, and they later divorced. With Terresa's support, Alan slowly began coming out to close friends, family and colleagues, including Keith Urban, who was the first artist he told he was gay.
"It was a confirmation to me that I was headed in the right direction," Alan, 48, tells PEOPLE of coming out to Urban, who responded with "compassion, love and acceptance."
Alan's relationship with religion changed over the years as he began to accept himself.
![cody alan](https://people.com/thmb/At76g5nLGcUhjIeFRNOAaAWaUB4=/4000x0/filters:no_upscale():max_bytes(150000):strip_icc():focal(999x0:1001x2)/cody-alan-mormon-mission-2000-e4457a983dde40d8b761d328f24af8a8.jpg)
"I think when you grow up religious, as I did, there is a way that you were taught right, wrong — everything is black and white, it's one way or the other," Alan says. "And the truth is, particularly when it comes to sexuality, there are lots of shades, and understanding that as I did later in my life really helped me, because I understood we're clearly all different."
Eventually, Alan left the Mormon church.
![cody alan](https://people.com/thmb/L-8Cmt1ZAv4-zRDjg1Cloo740Qo=/4000x0/filters:no_upscale():max_bytes(150000):strip_icc():focal(979x718:981x720)/cody-alan-family-f029cd4d1b514af6a706ae0026663fc7.jpg)
"When you go through most of your adult life living a 'straight' life, you learn to be that way and to sort of fake it. There's reasons why I stuck with the church for so long, but ultimately the prayers weren't answered in regards to making me straight — it doesn't work that way," he says. "It took me a while to understand that because I wanted so badly to do what I thought God wanted. I used to think that if I came out, if I was myself, that God was going to hate me. I realized after I came out that I was still just as loved, and my life was enhanced."
Today, Alan happier and more fulfilled than ever. In 2015, he met his fiancé, Michael "Trea" Smith, 29, who inspired him to come out two years later. And they've formed their own modern family with Terresa; Makayla, 23, and Landon, 19; and Terresa's boyfriend, Patrick Kelly. And this big, happy family takes vacations and celebrates holidays together.
![Hear's the Thing Cody Alan](https://people.com/thmb/2IezMMpuJhwLRr1NhfVTffdMwdE=/4000x0/filters:no_upscale():max_bytes(150000):strip_icc():focal(499x0:501x2)/cody-alan-2-236b3b3de1734fb0ba1149acc79c374a.jpg)
"Some of our friends are like, 'How do you guys do it?' Well, it starts with a foundation of love. We were going to figure out a way to make our kids feel just as loved as they did before," Alan says. "It took a little while to get there, but we're on the other side of it, and it's pretty great."
Adds Alan: "I'm happy with where we're at."