Line up full song of unknown BPM with Cubase grid


I want to play along with a recording of a song I do not know the BPM for, how can I discover the BPM and get the audio lined up with the cubase gird so music will be in time with the metronome etc?


Automatic Tempo Detection:

Manually Beat Calculator: