How do broke people move to NYC

As a broke person trying to move to NYC I'm wondering how other broke people do it If you need to make at least 40x the rent for a lease? I'm hoping to find a sublet through my NYC friends' friends, but if you are someone who knows no one is the city, how do you do it? I'm fs planning on living with roommates to split rent, however, you still need to make 40x your share of the rent with roommates. to clarify, I'm asking more about the initial move, like finding a lease. I've been living bare bones forever and i'm quite good at it. I'm not wondering how broke people live in NYC long term, but how do they find housing to begin with if you don't make 40x the rent.