Doubt in the installation of the optical flow and sonar in APM 2.8

Hello friends,
A thousand apologies for the grammar, but the Google translation is sometimes inaccurate.
Well I’m trying to install in APM 2.8 the optical flow and sonar, I can not find information on how to install both in the same APM.
Both will be installed in a 450 Frame, facing the ground.
I thank him for guiding or facilitating some diagram,