Best way is to transition within your org. Look for openings. If no openings, discuss with your product team and request for some product work . To prove you are worth of the job, start building a product as a hobby and showcase it to your team.
See PM jobs always are in high demand and low supply. So you have to be ultra good to get them . Things that can stand you out are deep understanding of the problem your product solves, the market scenario, competitors, customer understanding.. and some hard skills like data analytics, ui/ux design, business models.
It's a wide generalist role that prepares you to be a business owner in future. So think like one to get started. Let me know if you have more questions.