Skip to main content
Complete guide to integrating Phantom Connect in a Next.js application.

1. Install dependencies

2. Create the provider

3. Wrap your layout

4. Create the auth callback page

5. Add connect button to your page

6. Configure Phantom Portal

  1. Go to phantom.com/portal
  2. Create or select your app
  3. Add your domain to allowed URLs
  4. Add https://yourapp.com/auth/callback to redirect URLs
  5. Copy your App ID