EYMINT
DocumentationAPI Reference
BlogDashboard
EYMINT
SectionsDocumentationAPI Reference
Go to Dashboard

For AI agents: the documentation index is at /llms.txt. Every docs page is also available as markdown by adding .md to its URL.

Getting Started

  • Keymint Documentation
  • Introduction
  • Getting Started
  • License Keys
  • Changelog

SDK References

  • Software Development Kits (SDKs)
  • Node.js SDK
  • Go SDK
  • Python SDK
  • C# SDK

Integration Guides

  • Integration Guides
  • Customer Portal for Vendors
  • Roles & Permissions
  • Radar Alert Destinations
  • Payment Provider Integrations
  • Stripe Subscription Licensing
  • Import Existing License Keys
  • Email Delivery
  • API Key Management
  • Webhook Deliveries
  • Analytics and Retention
  • Dashboard Workflows
  • Electron Licensing
  • PyQt Licensing
  • Tauri Licensing
  • Next.js SaaS Licensing

Licensing Guides

  • Licensing Concepts
  • Node-Locking & Machine Identifiers
  • Floating Licenses
  • Offline Verification
  • License Radar
  • Public Key Management and Rotation
  • Feature Flags
  • Webhooks & Events

Templates

  • Starter Templates
  • Electron License Starter
  • PyQt License Starter
  • Tauri License Starter
  • Next.js SaaS License Starter

Security & Trust

  • Security & Trust

Support

  • Frequently Asked Questions
  • Customer Portal
  • Using the Customer Portal
  • Workspace Settings and Roles

Legal

  • Privacy Policy
  • Subprocessors
  • Data Processing Agreement
  • Security Overview
  • Terms of Service
  • Service Level Agreement (SLA)
  • GDPR Compliance

Getting Started

Learn how to configure your Keymint account, install the official SDKs, and activate your first license key.

This guide walks you through the steps to set up your Keymint workspace, install our SDKs, and execute a node-locked license activation. By the end of this tutorial, you will be able to verify seat permissions programmatically on a target machine.

Step 1: Retrieve your API Credentials

To authenticate requests to the Keymint API, you need a secret API key.

  1. Sign in to the Keymint Dashboard.
  2. Navigate to Developer → API keys.
  3. Create a new API key with the client scope and copy the token.

A client key is designed to ship inside desktop apps: it can only activate, deactivate and run floating sessions. Never ship an admin or read-only key, and don't commit any key to public version control.

Step 2: Install the Client Library

Install the client SDK for your preferred environment. We provide native libraries for Node.js/TypeScript, Go, Python, and C#.

npm install keymint

Step 3: Run your First Activation

Initialize the client with your API key, then invoke the activation endpoint. This registers the host machine under the license key and checks for seat availability.

import { KeyMint } from 'keymint';

// Initialize the Keymint client
const keymint = new KeyMint('YOUR_API_KEY');

async function runActivation() {
  try {
    const response = await keymint.activateKey({
      productId: 'YOUR_PRODUCT_ID',
      licenseKey: 'A8E2K-9F1BC-3D4GH-7J2KM',
      hostId: KeyMint.getOrCreateInstallationId() // Stable ID for this machine
    });

    // Success. licenseeName is masked and only present when a customer is assigned.
    console.log(`License validated (${response.message})`);
  } catch (error: any) {
    // The SDK throws on every non-2xx response.
    if ([401, 402, 403].includes(error.status)) {
      console.log(`License rejected: ${error.message}`);
    } else {
      console.error('Could not reach Keymint; try again later:', error.message);
    }
  }
}

runActivation();

Optional: Claim Anonymous Buyers During Activation

If you sell a key before collecting customer details, your app can ask for name and email during activation and pass them as licensee:

json
{
  "productId": "YOUR_PRODUCT_ID",
  "licenseKey": "A8E2K-9F1BC-3D4GH-7J2KM",
  "hostId": "mac-studio-m2",
  "licensee": {
    "name": "Jane Doe",
    "email": "jane@example.com"
  }
}

This only assigns the license being activated. Client keys cannot pass arbitrary customerId values or manage customers directly.

Next Steps

  • Learn how to structure floating seats and lease heartbeats in Floating Licenses.
  • Read how to set up signed local license files in Offline Activations.
  • Browse the full list of API endpoints in the API Overview.

On this page

  • Step 1: Retrieve your API Credentials
  • Step 2: Install the Client Library
  • Step 3: Run your First Activation
  • Optional: Claim Anonymous Buyers During Activation
  • Next Steps