There is another way to integrate Ramp via SDK by putting code right into your HTML files. Here's how to do it.
Using the SDK
A basic example embedded in HTML looks like this:
Clicking the button launches Ramp's widget.
A more detailed list of the available configurations with examples can be found here.
That's it! Create an instance of the SDK with a configuration object and call the
.show() method when you're ready to display Ramp to your user.
It's important to remember that one instance of the SDK corresponds to one instance of the widget - if you want to close Ramp Instant and open it again, you'll need to initialize our SDK again.