In order to settle in French Polynesia, you have to apply for a residence authorisation with the administration of the High Commission of the French Republic in French Polynesia within two months of your arrival at the latest (and before your visa expires).