folkwaysDocs
Get started

Set up in the Console

Sign up, create a workspace and a segment, generate a signing key, add a topic rule, and copy your connection values.

Everything in this step happens in the Folkways Console. It takes about three minutes.

Sign up

Open console.folkways.io/signup and sign up with email, Google or GitHub. If you used email, open the verification link we send you.

Joining a teammate's workspace instead? Ask them to invite you from Team; see Team.

Create a workspace

Name it, for example after your company, then pick a package. Free is ready at once; a paid package goes through checkout first. Packages and prices are on folkways.io/pricing.

A workspace holds your segments, team and billing, and its package sets your allowances. See Packages and billing.

Create a segment

Open Segments → New segment. Name it after your app and environment, e.g. Chat (development), and leave both transports on.

A segment is one isolated app: its keys, rules and topics belong to it alone. Use a separate segment for production later. See Segments.

Generate a signing key

On the segment's Signing keys tab, choose Add key, enter a key ID such as backend-2026-12, and choose Generate a key pair. The Console shows the private key once: download it and keep it with your backend's secrets. Folkways keeps only the public key.

See Signing keys for bringing your own key and rotating keys.

Add a topic rule

On Topic rules, choose Add rules and add:

PatternWho may use itEvent types
hello/>Anyone the token allowsStream

A segment with no rules refuses every topic. See Topics and Topic rules when you design your own.

Copy your connection values

The segment's Connect tab shows the values your backend needs:

.env
Shell
FOLKWAYS_URL=https://realtime.folkways.net
FOLKWAYS_SEGMENT_ID=00000000-0000-4000-8000-000000000042
FOLKWAYS_KEY_ID=backend-2026-12
FOLKWAYS_PRIVATE_KEY_FILE=./backend-2026-12.pem

Next: add a token endpoint to your backend.

On this page