How-To Guides
Action-oriented operational recipes to configure, integrate, and scale Shaf short link infrastructure. Each guide addresses a specific technical goal and provides copy-ready configurations and troubleshooting steps.
Domains & Branding
Configure custom DNS hostnames, subpath reverse proxies, fallback destinations, and TLS certificates.
Custom Domain DNS Setup
Map CNAME and ALIAS records across Cloudflare, Route 53, Namecheap, and GoDaddy to point traffic to Shaf.
Reverse Proxy Subpath Routing
Route /go or /links subpaths to Shaf behind Nginx, Caddy, Cloudflare Workers, or Next.js.
Root & 404 Fallback Redirects
Direct apex domain visitors and dead-end 404 requests to custom fallback URLs.
Site Integrations SDK
Deploy the client-side JavaScript SDK to automatically rewrite outbound links through branded short domains.
SSL & TLS Certificates
Monitor automated Cloudflare for SaaS TLS issuance, DNS validation challenges, and certificate renewal.
Integrations & Developer
Issue scoped API credentials, connect AI agents via MCP, deploy self-hosted instances, and verify webhook signatures.
API Keys & Token Scopes
Create, rotate, and revoke scoped Bearer tokens for REST API automation.
Model Context Protocol (MCP) Server
Attach Claude Code, Cursor, Windsurf, or custom AI coding agents to Shaf via MCP.
Self-Hosting on Cloudflare
Deploy sovereign Shaf instances to Cloudflare Workers, D1 SQLite databases, and KV storage.
Webhooks & Signature Verification
Receive real-time HTTP event deliveries and verify HMAC-SHA256 signatures with X-Shaf-Signature.
Link Operations
Configure batch migrations, vector QR codes, password gating, multi-condition smart routing, and UTM parameters.
Bulk Import & Export
Migrate existing short links via CSV or JSON files and export full workspace backups.
Custom Vector QR Codes
Generate styled SVG and PNG QR codes with embedded center logos and level H error correction.
Password Protection & Expiration
Gate destination access behind SHA-256 passwords or schedule UTC expiration timestamps.
Device & Geo Smart Routing
Evaluate client OS (iOS, Android, Desktop) and ISO country codes at the edge to route visitors conditionally.
UTM Parameters & Campaigns
Attach Google Analytics campaign tags and categorize links with workspace tags.
Workspaces & Billing
Manage enterprise SSO and directory synchronization, role assignments, multi-tenant isolation, and quotas.
Enterprise SSO & SCIM Directory Sync
Enforce SAML 2.0 / OIDC single sign-on and synchronize users via SCIM 2.0 endpoints.
Team Invitations & Roles
Invite teammates by email and assign Owner, Admin, Member, or Viewer privileges.
Organization Management
Isolate custom domains, links, and analytics across distinct client or product organizations.
Subscriptions & Stripe Billing
Upgrade plans, add team seats, and access VAT invoices in the Stripe Customer Portal.
Link Quotas & Usage Limits
Track monthly click thresholds, active link counts, and edge grace period safeguards.