To connect the two, all you need is a double arm socket. You choose the length. They make some very short ones that might be perfect for your application.
What I like about the RAM mount solution is it is bullet-proof and holds the cameras rock-steady through just about anything you’re likely to throw at it and you retain a wide range of movement to aim the camera head.