Thanks for this! I've updated, and can see analytics data in my GA4 profile already.
For anyone who needs some help (because it didn't seem obvious to me), you can get the Measurement ID in the "Data Streams" section of the GA4 property.