J.J. Abrams Star Wars
J.J. Abrams performed with Lin-Manuel Miranda to celebrate “Star Wars” Day, May 4, 2016. The director is pictured at the Tribeca Film Festival in New York, April 15, 2016. Getty Images

May the fourth be with you, “Hamilton” fans. In order to celebrate “Star Wars” Day (May 4), Lin-Manuel Miranda brought J.J. Abrams out as his special Ham4Ham guest star. The two performed together in front of the Richard Rodgers Theatre on Wednesday for the lottery event.

The daily Ham4Ham lottery — people enter to win front-row tickets to the must-see hit musical “Hamilton” — attracts such a crowd that writer/star Miranda likes to give everyone who shows up a small piece of entertainment. The May 4 show included Abrams, who directed the wildly successful new "Star Wars" flick “The Force Awakens.”

Abrams recounted how he met Miranda at a performance of “Hamilton” last year. “He has a joke. [He] said, ‘If you need music for the cantina, I’m your guy.’ And I said, ‘You’re not gonna believe this. I need music for the cantina,’” the director explained.

Miranda, who was just nominated for several Tony Awards, explained the process of writing the song’s lyrics. “It’s actually in Huttese, Jabba the Hutt’s language,” he revealed. “I went to a website that had all of the Huttese glossary of terms and it translates as, ‘No, lover, lover, it wasn’t me.’ It’s literally a Shaggy intergalactic remix!”

Watch their “Star Wars” Day performance of “Jabba Flow” below:

The men, who co-wrote the song, also announced that the track is finally available for purchase. It was originally left off the “Star Wars: The Force Awakens” soundtrack, which featured only the score John Williams wrote. “Jabba Flow” is now being sold on iTunes and can be streamed on the Star Wars website.

It isn’t known if Miranda will return to write a track for “Star Wars: Episode VIII,” but he will continue to work with Disney, which owns LucasFilm. He is currently writing the soundtrack for the animated film “Moana.”