Setting the config.appkey in declareInitialConfig