Rihanna has debuted her new song in the latest trailer for the movie Star Trek Beyond.

The chart star had teased the track – titled Sledgehammer – on Instagram, telling fans yesterday: “Got something for y’all tomorrow.”

It was unveiled today as the new ad for the space adventure movie premiered.

The powerful ballad, apparently penned by Chandelier singer Sia, has won plenty of love online.

Star Trek Beyond is the third film in the rebooted sci-fi franchise and follows 2009′s Star Trek and 2013′s Star Trek Into Darkness.

It stars Chris Pine, Simon Pegg, Zoe Saldana and Zachary Quinto, as well as Anton Yelchin, who was killed earlier this month when his car rolled down his driveway and trapped him.