Configure api