It is made by reacting ammonia with sodium to make sodium amide .
In the first step , ammonia is converted to sodium amide :