Skip to main content

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.

The first working shape is small: render one prepared value and send one action request without importing private package setup.

Prerequisites

If you do not have key access yet, do Get your key first.

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.
The screen shows an inbox count when the named data is available. The component owns loading, error, and success rendering. It does not decide how Bitfield stores or prepares the data.

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 asks the named target to do work and waits for a reply. The button does not import the target implementation.
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:

Common failures

Next

Last modified on May 11, 2026