Need to enter authentication code in middle of Test Case

For my Test case,

Step:1- Need to enter username in Web UI
Step:2- Need to enter passcode in Web UI
Step:3- Need to enter authentication code ,whereI will get this via SMS to my personal mobile.

Now I am confused how to handle Step 3,Can someone please advise.

Please checkout this plugin

here I am getting Authentication to my mobile
will this work?, I am not sure

For real mobile device may be it’s little bit complex. Please go through the video tutorial. May be it will help you.

Automating Multi-factor auth (MFA) based application with Katalon Studio

I already saw it,but my scenario is different

Need to pass auth code which was sent to my mobile.Please advise