Hillary Clinton and Huma Abedin joined a slew of big-name guests at a $100 million, weeklong wedding joining two billionaire Indian families — one of which has given big bucks to the Clinton Foundation.

The former Democratic presidential candidate and her longtime top aide danced up a storm as Beyoncé belted out hits at an extravagant pre-party the weekend before the union of Isha Ambani and Anand Piramal.

Ambani, daughter of India’s richest man, Mukesh Ambani, who is valued at $43 billion, according to Forbes, tied the knot Wednesday night in Mumbai with Piramal, son of industrialist Ajay Piramal — worth $4.3 billion.

At a pre-wedding bash, Beyoncé performed smashes including “Crazy in Love,” as Clinton — whose husband’s Clinton Foundation has been on the receiving end of sizable donations from Ambani’s family, according to Fox News — got her groove on alongside Abedin, fellow former White House hopeful John Kerry, and some of Bollywood’s most famous faces.

Beyoncé’s show-stopping performance, held at a 16th century palace in Udaipur, included a full backing band and multiple costume changes, with a least one Indian-inspired outfit.

The wedding week was so jam-packed with festivities that it had its own app to help guests get around, Fox reported.

Guests including Bollywood star Priyanka Chopra and musician hubby Nick Jonas — who had their own uber-opulent Indian wedding earlier this month — descended on the fete in private planes and luxury sedans.

The lavish nuptials, which brought 600 guests to the Ambani clan’s 27-story Mumbai home, are estimated to cost about $100 million, reported Bloomberg News.

That sum is said to include hundreds of nearby hotel rooms that the Ambanis reserved for their guests.

The newlyweds’ families can afford it: Mukesh Ambani has holdings in everything from oil and gas refining to telecommunications, while Ajay Piramal made his fortune in pharmaceuticals, financial services and real estate.

The bride, a 27-year-old Yale grad, sits on the board of not one but two companies, while her husband, 33, is the founder of a ­realty company.

Indian weddings are famously extravagant, with even poor families scrimping and saving for years to afford an all-out send-off for their kids into married life.

“A farmer might commit suicide because he can’t save enough money to get his daughter married,” Indian social activist Archana Dalmia told The Associated Press.

With Wires