Determine the material you wish to use for your roof. Find the anodic index for that material on the anodic index table.
Check the anodic index table to determine what metal fasteners may be used with the roofing material. The fasteners must be made of a material that has an anodic index of fewer than 0.15 volts difference from the anodic index of your roofing material.
Choose fasteners that are able to be used with your roofing material. For example, if you are installing a galvanized steel roof (anodic index of 1.20 volts), you may use zinc-plated (anodic index 1.25 volts) or galvanized steel (anodic index 1.20 volts) nails or screws to attach the roof to the building.