Add the setter of appId and apiKey