Gillian Anderson has joined Starz’s adaptation of Neil Gaiman’s “American Gods,” Variety has learned.

Anderson will play Media, the mouthpiece for the New Gods, functioning as their public face and sales representative, by taking the form of various iconic celebrities. She lives off the attention and worship that people give to screens — to their laptops, their TVs, to their iPhones in their hands while they watch their TVs. Ever the perky spokesperson, and always in control, she spins stories in whatever direction best suits her.

The casting marks a reunion between Anderson and “American Gods” executive producer Bryan Fuller — the two previously collaborated on NBC’s “Hannibal.”

In addition to “Hannibal,” Anderson recently returned to her iconic role as Dana Scully in Fox’s revival of “The X-Files,” which premiered in January, and will next be seen in the third and final season of crime thriller “The Fall,” which will air later this year.

“American Gods” is produced by FremantleMedia North America. Fuller and Michael Green are writers and showrunners. David Slade is directing the pilot and additional episodes. FMNA’s Craig Cegielski and Stefanie Berk are executive producing the series along with Fuller, Green, Slade and Gaiman. Senior Vice Presidents of Original Programming Marta Fernandez and Ken Segna are the Starz executives in charge of “American Gods.” Starz retains all network pay TV and SVOD rights to the project, and FremantleMedia is distributing the series worldwide.

The plot of “American Gods” posits a war brewing between old and new gods: the traditional gods of mythological roots from around the world steadily losing believers to an upstart pantheon of gods reflecting society’s modern love of money, technology, media, celebrity and drugs. Its protagonist, Shadow Moon (Ricky Whittle), is an ex-con who becomes bodyguard and traveling partner to Mr. Wednesday (Ian McShane), a conman with personal ties to the battle between the deities.