Set API key to be saved in local storage