How to configure daemon apps that call web APIs