You would need to be in Canada to apply for asylum unless you can find a group in Canada willing to privately sponsor you. It is difficult to find a group to sponsor you if you don’t have family or friends in Canada trying to sponsor you or trying to find people to sponsor you. Have you looked to see if you qualify for any economic pathways? How old are you? What is your work and education history?