It was the first time the musicians sang the song live since its release in September. The three sunglasses-clad men performed alongside a troupe of backup dancers on a stage bedecked in neon lights.
Before the show, Smith shared a selfie on Instagram with Anthony and Bad Bunny during rehearsals at the MGM Grand Garden Arena in Las Vegas.
The 19th annual Latin Grammy Awards' first award went to Laura Pausini for Traditional Pop Vocal Album of the Year.
Read MoreJennifer Lopez, Bad Bunny team up for 'Te Guste' music video Will Smith, Martin Lawrence confirm 'Bad Boys 3' on Instagram Mana honored as Latin Recording Academy's Person of the Year
Moments from the Latin Grammy red carpet