Get OTP in cloud device

Hi

I have to get OTP in cloud set up (Browser stack ,Saucelabs etc). My production application requires opt verification to login to application and for further testing in Appium automation. How to go ahead ?Any suggestion please suppot?