Back to HTML Pub

How to Connect Gumroad to HTMLPub

htmlpub Team
ecommerce
gumroad
guide

Gumroad is a popular platform for creators selling digital and physical products. Connecting it to HTMLPub lets you add checkout buttons that link directly to your Gumroad products.

What you'll need

  • An HTMLPub account (free or paid)
  • A Gumroad account with at least one product
  • Your Gumroad Access Token

Step 1: Create an application and get your Access Token

  1. Go to gumroad.com and log in
  2. Navigate to Settings → Advanced → Applications (direct link)
  3. Click Create application
  4. Fill in the application name (e.g. "HTMLPub") and a redirect URI (you can use https://htmlpub.com)
  5. After creating the application, copy the Access Token

Step 2: Connect in HTMLPub

  1. Open any page in the HTMLPub editor
  2. Click the Checkout button in the toolbar
  3. Select the Gumroad tab
  4. Paste your Access Token
  5. Click Test & Connect

If the token is valid, you'll see a green "Connected" badge with your Gumroad account name.

Step 3: Find your Product Permalink

The product permalink is the short code from your Gumroad product URL. For example, if your product URL is gumroad.com/l/my-ebook, the permalink is my-ebook.

To find it:

  1. Go to your Gumroad dashboard
  2. Click on a product
  3. Look at the product URL — the part after /l/ is your permalink

Step 4: Add a checkout button

Back in HTMLPub:

  1. Enter the product permalink and a product name
  2. Set the price and currency
  3. Click Add checkout button with AI

When a visitor clicks the button, they'll be taken to Gumroad's checkout for that product.

Troubleshooting

"Invalid credentials" error? Make sure you're using the Access Token from an application you created (not your account password or API key from a different section).

Need to disconnect? Click Disconnect in the Gumroad section of the checkout config.

Useful links

Keep Reading