Skip to main content
These steps apply only to custom chert byor and chert create-room configurations. With a named LiveKit agent, use login, setup and dev, which handles enrollment and activation for you. Enrollment creates a standby connection; activation changes where new calls are delivered.
Manual enrollment is a private-pilot path and is not part of self-serve setup. For a named LiveKit agent, use chert dev, which signs in through chert login and enrolls and activates the line for you. These connector commands do not read the chert login sign-in yet: they need a user access token for an owner or admin of the project and your pilot’s relay origin. A FaceTime project API key cannot replace the user access token.

1. Select your project and line

Inject CHERT_USER_ACCESS_TOKEN securely into a management shell. Replace uppercase placeholders below with your project’s values. CONTROL_ORIGIN is the HTTPS origin, without /api; for the hosted service it is app.trychert.com.
For create-room mode, substitute chert-room.json. Confirm the exact project and line IDs. The preview requires exactly one line in the project; the CLI does not automatically choose one or activate every project.

2. Enroll in standby

This writes a new config and protected connection/recovery credentials. Keep both private. If enrollment or saving the response fails, inspect bindings before retrying; do not blindly enroll again.

3. Check and connect

In the runtime shell, remove CHERT_USER_ACCESS_TOKEN from the environment. The connector uses the saved credentials instead. Run your agent normally, then:
Use chert create-room for a create-room config. A successful welcome confirms transport connectivity. check currently exits 3 for partial diagnostics; neither command proves a real call works.

4. Activate the selected line

In the management shell, refresh the line and binding listings from step 1. After confirming the target line and its current binding in those listings, supply the current assignment generation:
Use none only when there is no previous active binding. For a replacement, use the previous binding’s UUID. A stale generation or mismatched binding is rejected. Activation closes the standby connection. Restart the same runtime command, or let its supervisor restart it, before making a test call. Installation, checks, and reconnects never activate routing by themselves.

Keep it running

Run the connector alongside your application under your host’s process supervisor. Keep one writer per state directory on durable local disk, including across deployments. Never share one directory between replicas or delete it to clear an error. To stop new calls going to this binding:
Drain returns future calls to the line’s saved webhook route. Keep the original connector available to finish active calls and recovery. See Advanced connector commands for saved status, revocation, and cleanup diagnostics.