Kat Dennings Reveals How She Met Her New Boyfriend, Josh Groban

(Michael Rozman/Warner Bros.)

Beth Behrs, the star of "2 Broke Girls," can add one more title to her name: matchmaker.

Behrs was responsible for setting up her co-star Kat Dennings, 28, with her new boyfriend, singer Josh Groban.

Dennings revealed that Behrs was behind the match on " The Ellen DeGeneres Show" today.

"Yeah, she's always talked about how great he is," she explained. "They've been friends for years. And she thought we were both, you know, nerds. So there, she was right."

Before the pair met, Dennings said she would sometimes correspond with the 33-year-old singer on Twitter.

"He's very witty on the Twitter and I saw his little tweets … and sometimes we would [tweet back and forth]," she said.

Josh Groban Gushes About 'Girlfriend' Kat Dennings

Dennings also revealed to DeGeneres her other celebrity crush - Kim Kardashian.

The reality star recently appeared the sitcom's 80th episode.

"I didn't know what to expect because she's so famous," Dennings recalled. "I was very nervous because I've seen so many episodes, and she was very sweet. She was very nice. And her a** is amazing! I am feminism, girl power, but I was just so in love with her a**. I just spit talking about it - that's how passionate I feel!"

Face-to-face, Dennings said she was too shy to tell Kardashian that she was a fan.

Instead, Dennings said, "We would say a nice thing or two, talk about friends we know or people we have in common, and then she would turn around and Beth and I would [mouth], 'Oh, my God!' It's beautiful. She's gorgeous. It's just amazing. I've never seen an a** like that in my life."

The actress brought up an old "Keeping Up With the Kardashians" episode before Kardashian and Kanye West married and the reality star was doing her music video.

"Kanye was there and he was like, 'I have never seen an a** like that.' And that's what I was thinking!" Dennings admitted.

"And yet he got to her first. You just missed out on that one," DeGeneres quipped.

"Such is my luck!" Dennings said.