The biochemical reactions and pathways resulting in the formation of a P-cluster of a nitrogenase, a high-nuclearity, Fe/S-only cluster that can be viewed as two [4Fe-4S] sub-clusters sharing a gamma-6-sulfide.