Typically, transition metals are considered as the centers for the activation of dinitrogen. Here we demonstrate that the nitride hydride compound Ca3CrN3H, with robust ammonia synthesis activity, can activate dinitrogen through active sites where calcium provides the primary coordination environment. DFT calculations also reveal that an associative mechanism is favorable, distinct from the dissociative mechanism found in traditional Ru or Fe catalysts. This work shows the potential of alkali-earth metal hydride catalysts and other related 1-D hydride/electrides for ammonia synthesis.