Gazebo SITL with PX4

I have been through the documentation, but I don’t understand how to interface the PX4 autopilot with a model in Gazebo. Can someone point me to the right documentation or example code?