return app id for config