Before Moroni buried the plates, he wrote a promise that if people would ask sincerely if the records were true, the Holy Ghost would testify of the truth. He hid the plates in the Hill Cumorah.