Add api key to config