Autopilot mount

Hello, we have vtol plane and autopilot pixhawk 3 pro. The fuselage has vibrations in relation to the wing, tell me where it is better to fasten the autopilot to the fuselage or on the wing?

Place the autopilot where there are no vibrations. The best way to find the best location is by placing and monitoring the vibration level in the fuselage and on the wings.