folkwaysDocs
Get started

Get started

Go from a new Folkways account to a connected app in three steps.

Three steps: set up in the Console, which means signing up, creating a workspace and segment, a signing key and a topic rule; add a token endpoint to your backend; connect your app, then subscribe and publish.

Set up in the Console

Sign up, create a workspace and a segment, generate a signing key and add a topic rule. About three minutes. Set up in the Console →

Add a token endpoint to your backend

One endpoint, behind your login, that signs a short-lived token for the signed-in user. Add the endpoint →

Connect your app

Install the SDK, connect with your endpoint, subscribe and publish. Connect your app →

What you need

  • A backend with a login, in any language. The examples use Node.js 20 or newer.
  • An app to connect: a browser app, a mobile app or a Node.js process.

No backend? For a public, read-only page, such as a live scoreboard, skip the token endpoint: see Public apps without a backend.

Next

  • Build a feature from the examples: a chat room, live cursors, a live dashboard.
  • Read How Folkways works for the model behind segments, tokens, topics and events.
  • Before going live, create a separate segment for staging and work through the production checklist.

On this page