How to embed 3rd party buy widget on iFrame

I want to add my 3rd party widget on my iFrame. They provided me with the documentation to install it using npm install for the instant sdk.

I creates a .js file on the back end with the following lines:

import { RampInstantSDK } from ‘@ramp-network/ramp-instant-sdk’ ;

new RampInstantSDK
({
hostAppName: ‘DAapp’ ,
}).show();

Now how do I bring display the buy widget on the main page?

This is what I wrote on the front end:

import _ from ‘@ramp-network/ramp-instant-sdk’

import { RampInstantSDK } from ‘@ramp-network/ramp-instant-sdk’ ;

$w.onReady( function () {

console.log().show(); 

let url = “https://buy.ramp.network/” ;

$w( "#html1" ).src = url; 

});

But nothing appears on the widget. Can anyone help?