WARNING: This page is about a different car, the 2020 Mazda CX-30. However, it is still accessible from the selected car via links, so may be relevant.
Lift up the vehicle.
Remove the bolts and fasteners.
Fig 1: Front Under Cover No. 2, Fasteners And Bolts With Torque Specification