The process to retire in Chiang Mai involves applying for initial non-immigrant O visa from the Thai embassy in your home country. You will use this visa to enter Thailand and open the bank account for the transfer of funds.