Use the hardware as a gauge
Identify both socket types and determine where the rod ends seat. Measure between the installation faces once the bay is square and the sockets are in place. Then apply the product's instructions for seating, end clearance or telescoping engagement.
Check exit clearance
An open socket can permit the rod to drop in from above if there is free space below the shelf. A pair of captive sockets may require a different order. Rehearse insertion with a scrap or telescoping gauge before committing the finished rod.
Verify support requirements
Use the hardware maker's span and load guidance for the chosen rod, its end supports and any intermediate support. Verify that fasteners on adjacent faces of a shared upright do not meet inside the panel. Record left and right end treatment separately for an asymmetric pair.