Benzazoles, such as benzoxazoles and benzothiazoles, are compounds with important biological and pharmacological activities and important intermediaries in synthesis. This report presents a linear synthesis of a butanamide derived from linking 5-chloro-2-aminobenzoxazole and 2-aminobenzothiazole via 4-chlorobutanoyl chloride. The corresponding compound N-(benzothiazol-2-yl)-4-((5-chlorobenzoxazol-2-yl)aminobutanamide was obtained in good [PVG1] yield using accessible starting materials and methodology in two reaction steps. Furthermore, we made docking studies of this compound on 3-TOP protein to explore its potential as an antidiabetic agent with an excellent yield.