# Introduction

URL: https://docs.folkways.io/docs

Folkways is realtime infrastructure for live chat, locations, presence-style signals and feeds. Start here to find the right guide.

Folkways delivers live events between your users' apps and your backend. Apps **publish** events to **topics** and
**subscribe** to them; Folkways stores, orders and delivers them, and keeps every app in sync through network drops
and reloads. Your backend decides who may do what by signing short-lived tokens.

Each topic delivers events in one of three ways:

| Type | For |
| --- | --- |
| **Stream** | An ordered, replayable log: chat messages, feeds, orders |
| **KV** | The latest value per key: locations, read receipts, status, scores |
| **Signal** | Short-lived and fire-and-forget: typing indicators, live cursors |

## Get started [#get-started]

<Cards>
  <Card title="Set up the dashboard" href="/docs/js-sdk/prerequisites" description="Create an account, a segment, a signing key and topic rules." />
  <Card title="Quick start" href="/docs/js-sdk/quick-start" description="Sign a token, connect, publish and subscribe." />
  <Card title="Key concepts" href="/docs/js-sdk/concepts" description="Segments, topics, events, identities and tokens in plain words." />
  <Card title="How authentication works" href="/docs/js-sdk/authentication" description="Signing keys, publishable keys and permissions." />
</Cards>

## SDKs [#sdks]

<Cards>
  <Card title="JavaScript SDK" href="/docs/js-sdk" description="@folkwaysio/realtime for browsers, React Native, Node.js, Deno and Bun. Published on npm." />
</Cards>

SDKs for other languages are planned. Until then, any backend can sign tokens with a standard JWT library; see
[What a token contains](/docs/js-sdk/authentication#what-a-token-contains).
