Can someone explain the config where to use api. Never got it working from the instructions given in github