WARNING: This page is about a different car, the 2024 Kia Sorento. However, it is still accessible from the selected car via links, so may be relevant.
Install in the reverse order of removal.
Reset the ECM adaptive value after replacing the air flow sensor.