Attaching the API connector