cta api key and gem working