Skip to content

Domains

A Domain is a name your Startup answers at: bought or connected, with DNS, a certificate and email set for you.

A Domain is a name your Startup answers at, for its Site, App, API and Mailboxes. Every Startup answers at a claimed name from the moment it is created.

What you get

  • 1claimed name the day the Startup is createdDomain
  • 1DNS records, signed with DNSSECDNSRecord
  • 1certificate, renewed before it expiresDomain
  • 1email that cannot be spoofed: SPF, DKIM and DMARCDNSRecord
  • 1renewal 90 days ahead, so a name never lapsesDomain
  • 1wallets at checkout on the domainStripe's Payment Method Domain

Your agent does

Domain.connect
You, to your agent

Connect leaseline.com. I bought it somewhere else.

Use the domain I already own for my site.

Point leaseline.com at the business.

# Look up the Startup: Startup.list
STARTUP=$(curl "https://api.sb/leaseline.app/startups?limit=1" \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" | jq -r '.startups[0]["$id"] | split("/") | last')

# Domain.connect
curl -X POST https://api.sb/leaseline.app/domains/connect \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hostname":"leaseline.com","startup":"'"$STARTUP"'"}'
import { $ } from 'startup-builder'

const [startup] = await $.Startup.list({ limit: 1 })
await $.Domain.connect({ hostname: 'leaseline.com', startup: startup.$id })
STARTUP=$(npx startup-builder do Startup.list --json '{"limit":1}' | jq -r '.startups[0]["$id"] | split("/") | last')
npx startup-builder do Domain.connect --json '{"hostname":"leaseline.com","startup":"'"$STARTUP"'"}'
{
  "name": "do",
  "arguments": {
    "code": "const [startup] = await $.Startup.list({ limit: 1 })\nreturn await $.Domain.connect({ hostname: 'leaseline.com', startup: startup.$id })"
  }
}

Guides

How it works