This is the shortest first-result path: get key access, activate a device, add Runtime Kit, read named data, and send one action request.
You are building the first screen of a product. It needs one piece of named data and one button that asks Bitfield to do work.1
Create account access and activate the device you are using.
→
2
Add the public app-facing package.
→
3
Render named data and call a named target.
Prerequisites
| Need | Why |
|---|---|
| Bitfield account access | The account portal owns key access and runtime/device management. |
| One activated runtime identity | Runtime Kit runs against an account/device path, not a random anonymous install. |
| A JavaScript app surface | The current public examples use the JavaScript Runtime Kit and React hook. |
| A data name and action name | App code reads named named data and sends requests to named targets. |
1. Get your key and activate this device
Open account.bitfield.so, create or open your account, confirm email if needed, and activate the device you are using.Your account portal is where you manage runtime identities, replace a device, recover access, and find the current install instructions for your account.2. Add Runtime Kit
Runtime Kit is the customer-facing package that app code talks to. Your account portal gives the current install instructions for your account and environment.The public JavaScript surface is intentionally small:3. Read named data in React
useBitfieldData(...) reads materialized data that Runtime Kit has already made available to your app.4. Send a request
sendRequestToBitfieldTarget(...) sends opaque request data to a Bitfield target and returns the reply. Your app does not need to know how the target is mounted.The app surface stays narrow on purpose. The product can gain new storage paths, packages, devices, or slots without making every React component learn a new API.
What you just built
You did not build the whole product. You built the public app-facing shape:| Piece | What it proved |
|---|---|
| Account and device | Runtime Kit is attached to your account path. |
useBitfieldData(...) | React can read prepared product data by name. |
sendRequestToBitfieldTarget(...) | App code can ask a named Bitfield target to do work. |
| Loading/error/success UI | The surface can handle real runtime states instead of assuming data is always there. |
Common failures
| Symptom | Likely cause | Fix |
|---|---|---|
| You do not know where to get the key | Account path was skipped | Open Get your key |
| The component stays loading | Device/account path or data name is not ready | Check account activation, then read Runtime Kit troubleshooting |
| The read returns no data | The data name does not exist yet | Follow Package to screen |
| The action request fails | The action name or payload contract is wrong | Read Send a request |
| Generated code imports a deep Runtime Kit file | It crossed the public files and names | Use only the imports shown on this page |
Next
- Build the first real feature: Package to screen
- Copy a complete recipe: Runtime Kit Cookbook
- Look up exact API behavior: Runtime Kit API
- Understand devices: Active devices