How can I get provisional driving license as a foreigner who has just moved into the UK a few months ago

I tried following the DVLA website and it took me through the online application, where it asked for my address and how long have I lived there, after which I was asked for a complete.3 years of address history in the UK, with no option to specify that I was living outside UK before a few months ago. I went through the eligibility criteria on the uk gov website and nowhere does it say that I need to be living in the UK for 3 years to get the provisional license? So if online application doesn't allow someone with less than 3 years in the UK, how do I get the provisional license?