To attach wood to an I-beam, you could drill holes in the flanges of the beam, then use bolts. There are also fittings that you can slide posts & beams into, with various ways of securing them to the material they hold. If you’re not using T-shaped fittings, you could bolt fittings together.