If you hold a foreign license at the private level or higher the FAA will grant you a private certificate based on your foreign license, it's just a paper shuffle between your your CAA and the FAA. To get a certificate above the private level you do it the same way an American pilot would, written test, training and checkride.