# Set up in the Console

URL: https://docs.folkways.io/docs/get-started/console-setup

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](https://console.folkways.io). It takes about three
minutes.

<Steps>
  <Step>
    ### Sign up [#sign-up]

    Open [console.folkways.io/signup](https://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](/docs/console/team).
  </Step>
  <Step>
    ### Create a workspace [#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](https://folkways.io/pricing).

    A workspace holds your segments, team and billing, and its package sets your allowances. See
    [Packages and billing](/docs/console/packages-and-billing).
  </Step>
  <Step>
    ### Create a segment [#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](/docs/console/segments).
  </Step>
  <Step>
    ### Generate a signing key [#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](/docs/console/signing-keys) for bringing your own key and rotating keys.
  </Step>
  <Step>
    ### Add a topic rule [#add-a-topic-rule]

    On **Topic rules**, choose **Add rules** and add:

    | Pattern | Who may use it | Event types |
    | --- | --- | --- |
    | `hello/>` | Anyone the token allows | Stream |

    A segment with no rules refuses every topic. See [Topics](/docs/concepts/topics) and
    [Topic rules](/docs/console/topic-rules) when you design your own.
  </Step>
  <Step>
    ### Copy your connection values [#copy-your-connection-values]

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

    ```bash title=".env"
    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
    ```
  </Step>
</Steps>

Next: [add a token endpoint to your backend](/docs/get-started/token-endpoint).
