Migrating to Secure Init is now required for all apps moving forward. Please upgrade your app by 7/31/2025.

This migration is mandatory for continued access to Coinbase Onramp and Offramp APIs. Learn more about the migration.

Setup

Get started with Coinbase Onramp in just a few steps. This guide will help you integrate Onramp into your web application using OnchainKit.

Prerequisites

  1. Create a Coinbase Developer Platform (CDP) account
    • Create a new Onramp project in CDP and copy your Project ID from the dashboard
  2. Create a new project with OnchainKit Getting Started
  3. Add the <FundCard /> or <FundButton /> component to your application

That’s it! Your users can now purchase crypto directly in your application.

Additional Resources

Need help? Join our Discord community