Create temporary local adapter