10-Minute Quickstart
This guide takes you through the entire lifecycle: from connecting your Gumroad product to activating a machine seat in your desktop application.
Step 1: Connect Your Gumroad Account
Section titled “Step 1: Connect Your Gumroad Account”- Open the Seatling Creator Dashboard.
- Navigate to Settings > Gumroad Integration.
- Create a Gumroad API Application in your Gumroad Dashboard and copy your Access Token.
- Paste the Access Token into Seatling and click “Save Token”.
- Click “Register Webhook” to automatically connect your store’s real-time Ping listener.
(See the dedicated Gumroad Integration Guide for full visual walkthrough).
Step 2: Configure Product Seat Policy
Section titled “Step 2: Configure Product Seat Policy”- Navigate to Products in the Creator Dashboard.
- Click on your synchronized Gumroad product.
- Configure the seat policy:
- Seat Limit:
2(allows the buyer to activate up to 2 computers simultaneously). - Offline Grace Duration:
30 days(allows offline execution for up to 30 days before requiring a heartbeat).
- Seat Limit:
- Save your policy.
Step 3: Activate a Machine Seat with a Seatling SDK
Section titled “Step 3: Activate a Machine Seat with a Seatling SDK”When a customer buys your software on Gumroad, Gumroad delivers the license key (e.g. SEAT-8F92-4B11-90E1). All client applications must integrate an official Seatling Client SDK—initialize it with your workspace public key and call activate:
import { SeatlingClient } from '@seatling/node';
const seatling = SeatlingClient.init({ workspaceId: 'ws_01j8k9m0n1p2q3r4s5t6u7v8w9', productId: 'prod_creative_suite', publicKeys: { prod_creative_suite_2026_v1: 'u8A_wX09G7V8B3_N8Q4E5F6G7H8I9J0K1L2M3N4O5P6', }, appVersion: '1.0.0',});
async function activateLicense(licenseKey: string) { if (seatling.isAuthorized()) { console.log('✓ Already authorized via local hardware-sealed lease!'); return; }
const res = await seatling.activate(licenseKey); if (!res.success) { if (res.portalUrl) { throw new Error(`Seat limit reached. Free up a seat at ${res.portalUrl}`); } throw new Error(`Activation failed (${res.status}): ${res.message}`); }
console.log(`✓ Seat ${res.seatId} activated!`);}package main
import ( "fmt" "log"
"github.com/seatling/seatling-sdk-go/v2")
func main() { client, err := seatling.New(seatling.Config{ WorkspaceID: "ws_01j8k9m0n1p2q3r4s5t6u7v8w9", ProductID: "prod_creative_suite", PublicKeys: map[string]string{ "prod_creative_suite_2026_v1": "6kpsY+KcUgq+9VB7Ey7F+ZVHdq6+vnuSQh7qaRRG0iw=", }, AppVersion: "1.0.0", }) if err != nil { log.Fatal(err) } defer client.Close()
client.Initialize() if !client.IsAuthorized() { res, err := client.ActivateDetailed("SEAT-8F92-4B11-90E1") if err != nil || !res.Success { log.Fatalf("Activation rejected (%s): %s (Portal: %s)", res.Status, res.Message, res.PortalURL) } fmt.Printf("✓ Activated seat %s!\n", res.SeatID) }}use seatling::{SeatlingClient, SeatlingConfig};use std::collections::HashMap;
fn main() -> Result<(), Box<dyn std::error::Error>> { let client = SeatlingClient::init(SeatlingConfig { workspace_id: "ws_01j8k9m0n1p2q3r4s5t6u7v8w9".into(), product_id: "prod_creative_suite".into(), public_keys: HashMap::from([( "prod_creative_suite_2026_v1".into(), "6kpsY+KcUgq+9VB7Ey7F+ZVHdq6+vnuSQh7qaRRG0iw=".into(), )]), app_version: "1.0.0".into(), api_base_url: "https://api.seatling.app".into(), heartbeat_interval_seconds: 14400, storage_dir: None, })?;
if !client.is_authorized() { let res = client.activate("SEAT-8F92-4B11-90E1"); if !res.success { eprintln!("Activation rejected: {} (Portal: {:?})", res.message, res.portal_url); return Ok(()); } println!("✓ Activated seat {:?}!", res.seat_id); } Ok(())}#include <seatling/seatling.hpp>#include <iostream>
int main() { seatling::SeatlingConfig cfg; cfg.workspace_id = "ws_01j8k9m0n1p2q3r4s5t6u7v8w9"; cfg.product_id = "prod_creative_suite"; cfg.public_keys["prod_creative_suite_2026_v1"] = "u8A_wX09G7V8B3_N8Q4E5F6G7H8I9J0K1L2M3N4O5P6"; cfg.app_version = "1.0.0";
auto client = seatling::SeatlingClient::init(cfg); if (!client.is_authorized()) { if (!client.activate("SEAT-8F92-4B11-90E1")) { std::cerr << "Activation failed: " << seatling::status_to_string(client.status()) << std::endl; return 1; } } std::cout << "✓ Machine seat authorized!" << std::endl; return 0;}Step 4: Test Refund Revocation
Section titled “Step 4: Test Refund Revocation”- Open your Seatling Creator Dashboard.
- Click Webhook Simulator in the top navigation.
- Select event type
refundand paste your test license key. - Click “Dispatch Simulated Ping”.
- Re-run
activate()orheartbeatNow()via your Seatling SDK. Seatling immediately rejects the revoked license (403 Forbidden/LicenseSuspended), protecting your software against chargeback piracy.
[!TIP] GDPR Ready Out of the Box: Before shipping to EU/EEA customers, review Privacy & GDPR Compliance for a quick
Art. 13privacy notice checklist.