allow api_key config in initializer + helper method