configure api as well?