How do you get Cubase's tempo to match imported audio file?

Hi, quick question that would help out my workflow…
Just brought in an audio track in cubase and would like to use the Click in Cubase but its tempo doesnt match the imported audio. How do I get Cubase to detect and match the audio track’s tempo so I can use the click properly?

With an audio clip selected, go to Project > Tempo Detection.

There’s a short video here with more info: https://www.youtube.com/watch?v=JHW-7klEwLU

Results will vary based on the type of source material though!