Actually, you can't
게시한 사람 Yogie Adhityawarman 속 인도네시아 공개토론
Land and property ownership by foreigners in Indonesia is not permitted, however there is a way to go around the rule: setting up a local-registered company and purchase the property using it to buy it. I hope you are of the rule before you decide.