How do I get my apps account id?

I’m writing a script and would like to grant my app a permission.
The app id itself doesn’t work.

Was able to find it via rest api… Would prefer if there was a UI solution…