I would find people I want to work with (either through papers you read and talks you heard, or by identifying what you want to work on and then finding the people who do it best). Then you send them an e-mail (maybe with CV attached) complementing them on their work and telling them that you want to work with them and asking about their PhD program. The more detail you can provide, the more convincing it will be -- show that you thought deeply about their work, show your ideas to extend it, and (if possible) highlight the skill sets you have that might be of relevance to them (if don't have any, say you really want to learn how to do XYZ). Not everyone will be able to provide you with a position (funding, etc.), but ideally some will, and some others might say, "Sorry, I can't take a new student, but my colleage NN works on very similar things and is looking for one". 🤞(P.S.: Try not to use any AI chat bots, genuine beats polished almost any time, and if it doesn't, you don't want to work with them.)