configure API