By esterification of 2-(2-methyl-5H-[1]-benzopyrano[2,3-b]pyridin-7-yl)propionic acid (I) with 2-chloro-N,N-dimethylacetamide (II) by means of K2CO3 in hot DMF.