Create BarAPI config