Configure API

Please see the setup described here.