Even if you are transiting or transferring within the United States, you must apply for an ESTA application. You must input the information mandated by CBP (United States Customs and Border Protection) in the ESTA application and carries out pre-immigration inspection online.