Your steak will be safe to eat as soon as it hits 145 degrees Fahrenheit. But then you must let it rest for 3 minutes.
But when you’re testing the temperature you must ensure that the probe reaches the part of the steak that you expect to be the coldest, which should be the thickest part.