This question already has an answer here:
I have a concern about my approaching flight, I just got my permanent resident visa for Canada. I have a connecting flight from Manila to San Francisco USA, then to Toronto. I will just stay two hours at the San Francisco airport for my connecting flight.
Do I need papers or a visa from the US embassy so they will not hold me or stop me from flying to Canada?