Connect with MetaMask Flask and accept the connection in MetaMask. Note that you cannot install snaps directly. You would need to enable this in your app. To learn more about how you can do this in your own app, look at an example site code
that has the Identify installation functionality.