ES config to initializer with app config