President Barack Obama and former President George W. Bush want you to vote.

That was the message of a public service announcement the two political opposites starred in for NBC’s “The Tonight Show” alongside the cast of the Broadway hit “Hamilton” and other politicians featured in a forthcoming PBS documentary about the musical.

“Our future depends upon you casting a ballot,” Bush says.

Obama invokes the popular musical in his pitch.

“If you’re inspired by ‘Hamilton,’ if you’re inspired by our founders, understand that the system of government they designed only works if you participate,” he says.

“Hamilton” creator Lin-Manuel Miranda and the play’s stars echo Obama and Bush’s message in the video.

Former first lady Laura Bush, Sen. Elizabeth Warren (D-Mass.), House Speaker Paul Ryan (R-Wis.), former Treasury Secretary Hank Paulson, “Tonight Show” host Jimmy Fallon and Questlove also join in.

The video closes by directing viewers to register to vote at www.vote.usa.gov in order to participate in the general election on Tuesday, Nov. 8.

Bush and Obama appear to be getting along well as Obama gets ready to join his predecessor in the ranks of former presidents. Obama snapped a photo for Bush at the opening of the new Smithsonian National Museum of African American History and Culture last month. Michelle Obama also hugged the former president at the museum’s opening.

The PBS documentary “Hamilton’s America” debuts on Oct. 21 at 9 p.m. ET. It will feature performances from the award-winning musical and commentary from many of the politicians featured in the voting video.