Once the permission is granted, you can proceed with the actual installation. How To Install APK Files On Android
Locate and open the (often called "Files" or "Mi File Manager" on Xiaomi devices) from your app drawer. Open File Manager And Complete Midiag.apk Installation