The present invention provides a novel compound isolated from a plant of the genus Quamoclit and a method for preparing a novel compound isolated from a plant of the genus Quamoclit through chemical synthesis, and relates to a novel compound and a composition containing the novel compound as an active ingredient for preventing or treating diabetes and diabetic complications. The compound derived from a plant of the genus Quamoclit and the composition containing the compound as an active ingredient according to the present invention have an excellent effect of promoting insulin secretion, thereby exhibiting efficacies in preventing or treating diabetes and the resulting various complications.