When creating a Lens Flare (Filter > Render > Lens Flare), hold Alt (Windows) Option (macOS) and click on the image preview. This will bring up the Precise Flare Center dialog box where you can input the X and Y coordinates for your flare.
You can use the Info panel to see the coordinates of a specific spot on your canvas. Simply hover over the canvas, and you will see the X and Y coordinates change as you move through it.
For more tips and tutorials, subscribe to Photoshop Training Channel on YouTube!