- Generate a JWT to authenticate your requests. Follow the instructions here to make authenticated requests.
- Generate a One Click Buy URL using the Create Onramp Session API
- Pass this URL to your frontend to load the Onramp experience for the client.
Coinbase-hosted Onramp
Generating an Onramp URL
Coinbase-hosted Onramp is accessed by creating and directing users to a URL with query parameters specific to their request. In your backend, generate a JWT, following the CDP authentication steps
In your backend, generate a One Click Buy URL by doing the following: