The mechanism of C-N bond formation with amide as nitrogen source was disclosed. The process included the cleavage of amide C-N bond to form amine and then to construct new C-N bond. With the cooperation of Lewis acid, aryl halides, aryl triflates, boronic acids, aryl siloxanes and azoles could be aminated by amide as nitrogen source.