It's unclear to me what the flow here should be. Typically I've done a test deploy locally, found the program_id that it was deployed to, and then copied that into the appropriate places.
I'm using Anchor, fwiw.
(I can grind an address, though I'm not sure how to specify program deployment to that address.)