The esterification of indole-2-carboxylic acid (I) with benzyl alcohol and CDI gives the corresponding benzyl ester (II), which is alkylated with methyl bromoacetate (III) by means of NaH in DMF yielding 1-(methoxycarbonylmethyl)-1H-indole-2-carboxylic acid benzyl ester (IV). The debenzylation of (IV) with H2 over Pd/C in ethanol/DMF affords the free acid (V), which is condensed with 4-(2-chlorophenyl)thiazol-2-amine (VI) by means of benzotriazolyloxytris(dimethylamino)phosphonium hexafluorophosphate (BOP) in DMF to give the carboxamide (VII). Finally, the ester group of (VII) is hydrolyzed with NaOH or KOH in methanol/water.