The 21-year-old singer-actress will appear in multiple episodes of the show’s upcoming fifth season, her publicist confirmed Friday.

“Glee” star Lea Michele tweeted Thursday that she was excited that two of her “very best friends” — Lovato and Broadway vet Phoebe Strole — would appear on the Fox show, and thanked creator Ryan Murphy for making it happen.

Lovato is in her second year as a mentor on “The X Factor.” She starred on the Disney Channel’s “Sonny With a Chance” for two seasons.