How do I display the AR popup without initializing the viewer?

Hi there,

I want to show a button that opens AR directly in my project, but the api.startAR() method must be available after the iframe is loaded, I don’t want to load the viewer.

I also learned that there is a way to create links directly to AR mode, but the loading style on startup cannot be controlled, it has no close button and can only be returned to the previous page through the navigation.

Therefore, the above two methods cannot meet my needs.

Is there any other method?

Any advise appreciated.