Setting up adapter that uses api key