We have the same requirement. We need to set an app property on install for our connect on forge app.
For this to work correctly, we are currently relying on the /enabled event. See Current user not permitted to use Confluence error when getting app properties - #4 by danielwester as an example