Go to LMC and look at the diagrams. They will tell you what parts they have and diagram shows where they go. They have all the parts and wood for bed to include hardware, rails, and diagrams showing images.
https://www.lmctruck.com/body-components/bed-tailgate