Skip to main content

Get started with components

The component library isn’t published yet. This page will carry the install command, setup, and a first example as soon as it ships. Until then, build with the API reference and the Cookbook.

What to expect

Flynet components will drop into your app and compose the flows you’d otherwise wire by hand:
  • Auth. Run the OAuth + PKCE flow and hold the session correctly, with the access token in memory and secrets on your backend.
  • Member context. Render profile, status, wallets, and check-ins from /users/me/*.
  • Discovery. List restaurants and locations from the public Discovery routes.
  • Payments. Accept FLY-funded payments through Payment Intents.
Every component reads from the documented API surface, so anything you can build with a component, you can also build directly against the API reference.

Build it today

The Cookbook already covers each of these flows in copy-paste code:

Hello, OAuth

The auth flow, end to end.

Fetch a restaurant list

Your first Discovery call.

User passport

Profile, status, and wallets together.

Accept your first payment

A working FLY checkout.