Quick Start - hosted mode

Ramp Instant has two basic integration types - a hosted mode where it's opened in a new tab and an embedded mode where it's displayed in an overlay over your app.

We'll start by taking a look at the hosted mode, since it's the quickest method to add Ramp Instant to your app.

Basic integration

Integrating Ramp Instant in hosted mode is pretty straightforward - the only thing you need to do is to redirect your user to https://buy.ramp.network/. Note that this approach will work for both desktop and mobile integrations - no extra work needed! Just add a link to your app.

<a href="https://buy.ramp.network/" target="_blank">Go to Ramp Instant</a>

If you want to set some custom options for your integration, just add them as query parameters to the URL.

For example, let's set a userAddress param so that it'll be prefilled for the user.

<a
href="https://buy.ramp.network/?userAddress=0xe2E0256d6785d49eC7BadCD1D44aDBD3F6B0Ab58"
target="_blank"
>
Go to Ramp Instant
</a>

Now, when a user goes through the purchase flow, their crypto will be sent to 0xe2E0256d6785d49eC7BadCD1D44aDBD3F6B0Ab58.

A more detailed list of the available configurations with examples can be found here.