Add api key support