You don't even need a solar connection on the trailer. Having one is nice and makes for a neater, simpler set up, that's all. If equipped, you need to verify that the connection goes straight to the battery and what the polarity is.
You can connect directly to the battery/battery bank with alligator clips with no need for a connector on the trailer if needed.
Ready made kits already have the hinges, adjustable stands, etc. and are all over.
Here's an off-brand on Amazon that would suit:
https://www.amazon.com/DOKIO-Monocry...n%2C147&sr=1-4
Here's a name-brand with (arguably) better components:
https://www.renogy.com/200-watt-12-v...d126db8a&gad=1
(Note that both of these come with alligator clips. You would need to splice in the appropriate connector to use the trailer's connector)
__________________
GMC Sierra 2500HD Duramax
2022 Cougar Half Ton 24RDS
Solarflex 400i + 150w suitcase; 206ah LiFePO4; ready for boondocking