Activating license and initial setup via code

I’d like to create a mu-plugin to do as much of the activation work as possible for my sites.

I see that there is a GF_LICENSE_KEY constant where you can enter your license key, but it doesn’t actually prompt that activation process.

Additionally, there’s the basic setup which is always the same, asking for currency, background updates, etc.

Does anyone have any advice on how these things can be automated?

I see the following options that look related:

gform_enable_background_updates
gform_pending_installation

Much thanks for any help?