> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onlyfanskit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Build

> Connect creator accounts and work with messaging, fans, content, and earnings through the SDK, REST API, or CLI.

<div className="ofk-page">
  <div className="ofk-hero">
    <div className="ofk-hero-copy">
      <h1>Build</h1>

      <p className="ofk-hero-sub">
        Everything you need after authentication: link a creator account once,
        then read and send messages, manage fans and posts, and pull earnings.
        Use the TypeScript SDK, hosted REST API, or CLI — same capabilities,
        different surfaces.
      </p>

      <div className="ofk-hero-cta">
        <a className="ofk-link-primary" href="/quickstart">Quickstart →</a>
        <a className="ofk-link-muted" href="/connect/overview">Connect flows</a>
      </div>
    </div>
  </div>

  <div className="ofk-sec">
    <div className="ofk-sec-head">
      <div>
        <h2>Connect an account</h2>
        <p>Pick how the creator authorizes your app. You receive an account <code>id</code> for every later call.</p>
      </div>

      <a className="ofk-see-all" href="/connect/overview">All connect options</a>
    </div>

    <div className="ofk-grid ofk-grid-3">
      <a className="ofk-mini" href="/connect/embed">
        <Icon icon="window-restore" />

        <h3>Embedded connect</h3>
        <p>Hosted popup or iframe — recommended for in-product onboarding.</p>
      </a>

      <a className="ofk-mini" href="/connect/login">
        <Icon icon="envelope" />

        <h3>Email + password</h3>
        <p>Login with SMS, authenticator, or email 2FA via polling.</p>
      </a>

      <a className="ofk-mini" href="/connect/mobile">
        <Icon icon="mobile" />

        <h3>Mobile / QR</h3>
        <p>Creator approves on their own device — no credentials shared.</p>
      </a>
    </div>
  </div>

  <div className="ofk-sec">
    <div className="ofk-sec-head">
      <div>
        <h2>Guides by domain</h2>
        <p>Task-oriented walkthroughs for the workflows teams ship most often.</p>
      </div>
    </div>

    <div className="ofk-grid ofk-grid-3">
      <a className="ofk-pcard" href="/guides/messaging">
        <div className="ofk-preview ofk-chat">
          <div className="ofk-bubble ofk-bubble-in">hey — still interested?</div>
          <div className="ofk-bubble ofk-bubble-out">absolutely, sending a PPV now</div>
        </div>

        <div className="ofk-pcard-body">
          <h3>Messaging & chats</h3>
          <p>Threads, send/receive, paid messages, and chat lists.</p>
        </div>
      </a>

      <a className="ofk-pcard" href="/guides/fans-and-subscribers">
        <div className="ofk-preview">
          <div className="c"># fans & subscribers</div>
          <div>lists · search · notes</div>
          <div>subscribe · renewals</div>
          <div className="dim">→ CRM-style workflows</div>
        </div>

        <div className="ofk-pcard-body">
          <h3>Fans & subscribers</h3>
          <p>Search fans, manage lists, and track subscription state.</p>
        </div>
      </a>

      <a className="ofk-pcard" href="/guides/content-and-posts">
        <div className="ofk-preview">
          <div className="c"># content & posts</div>
          <div>vault · schedule · pin</div>
          <div>stories · polls</div>
          <div className="dim">→ publishing pipelines</div>
        </div>

        <div className="ofk-pcard-body">
          <h3>Content & posts</h3>
          <p>Vault media, publish posts, stories, and pinned content.</p>
        </div>
      </a>
    </div>

    <div className="ofk-grid ofk-grid-2 mt-4">
      <a className="ofk-scard" href="/guides/earnings-and-analytics">
        <Icon icon="chart-line" />

        <div>
          <h3>Earnings & analytics</h3>
          <p>Transactions, statements, chargebacks, and top-fan reporting.</p>
        </div>
      </a>

      <a className="ofk-scard" href="/guides/mass-messaging">
        <Icon icon="paper-plane" />

        <div>
          <h3>Mass messaging</h3>
          <p>Segment fans into lists and run targeted broadcast campaigns.</p>
        </div>
      </a>
    </div>
  </div>

  <div className="ofk-sec">
    <div className="ofk-sec-head">
      <div>
        <h2>Related</h2>
        <p>After you can read and write on an account, wire up events and go to production.</p>
      </div>
    </div>

    <div className="ofk-grid ofk-grid-3">
      <a className="ofk-mini" href="/realtime">
        <Icon icon="bolt" />

        <h3>Realtime events</h3>
        <p>SSE, webhooks, or WebSocket — react to messages and tips as they happen.</p>
      </a>

      <a className="ofk-mini" href="/sdk/overview">
        <Icon icon="cube" />

        <h3>TypeScript SDK</h3>
        <p>Typed client, signing, and resource APIs for direct OnlyFans calls.</p>
      </a>

      <a className="ofk-mini" href="/platform/overview">
        <Icon icon="shield" />

        <h3>Manage & deploy</h3>
        <p>Scopes, rate limits, errors, and production checklists.</p>
      </a>
    </div>
  </div>

  <div className="h-12" />
</div>
