How to get the api key in config.yml