Sodium is a chemical element with the symbol Na (from Latin: natrium) in the periodic table and atomic number 11. It is a soft, silvery-white, highly reactive metal and is a member of the alkali metals; its only stable isotope is 23Na. The free metal does not occur in nature, but instead must be prepared from its compounds; it was first isolated by Humphry Davy in 1807 by the electrolysis of sodium hydroxide.
Given its extraordinary chemical reactivity, there are multiple applications for this substance. Preparing it via electrolysis is the easiest way to go, however we need to use a molten sodium hydroxide electrolyte, as the resulting sodium would react with the water in an aqueous solution. Not that hard to do, as NaOH melts at 318 °C . The temperature is reasonably low to allow the separation of the resulting sodium without spontaneous ignition in air, but extra caution must be exercised as the chemicals involved are highly caustic, especially at high temperatures.
More details and photos here: http://www.pocketmagic.net/2013/04/how-to-make-metallic-sodium/