Set up config for API