1. Meet people smarter than you, could be through meetups or discord etc. The more people you meet, the higher chance of someone you'd meet someone you'd want as a mentor
2. Being active as a mentee. Most people love mentoring but it's a two way street. If you don't make yourself available to be mentored you waste everyone's time
3. Show initiative as a mentee. Ask good questions and problems your solving related to your mentors expertise
Having had a lot of great amazing mentors in my life, and mentored just as many.
In my experience if you don't put yourself out there to be mentored you won't get anywhere. Most of my mentors have been through city slack channels, work, and meetup. Alot of my original mentors actually ask me advice having seen my career progression over time
I've had people ask me to mentor them but they expected me to magically transfer all my knowledge to them, suffice to say I didn't waste any time with them . When I found an amazing mentee I went out of my way to help them, and I got to see their progress and growth overtime. That was super rewarding