Note that it can be craftet with all Stained Hardened Clay (Terracota)
First, put a stone slab on it (Right-Click) Note that the slab is just a "dummy" item, it will change in future
After put an iron ingot on it
Then, power on ( with a lever or a button ) Note that buttons are better
And power off to get the x9 nail