Activity at nearby synapses depolarize the postsynaptic membrane, releasing Mg2+ from NMDA receptors.
Na+ and Ca+ flow in.
The ions trigger the internal AMPA receptors to migrate to the membrane.