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
- Go to gumroad.com and log in
- Navigate to Settings → Advanced → Applications (direct link)
- Click Create application
- Fill in the application name (e.g. "HTMLPub") and a redirect URI (you can use
https://htmlpub.com) - After creating the application, copy the Access Token
Step 2: Connect in HTMLPub
- Open any page in the HTMLPub editor
- Click the Checkout button in the toolbar
- Select the Gumroad tab
- Paste your Access Token
- 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:
- Go to your Gumroad dashboard
- Click on a product
- Look at the product URL — the part after
/l/is your permalink
Step 4: Add a checkout button
Back in HTMLPub:
- Enter the product permalink and a product name
- Set the price and currency
- 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.