Skip to main content

Onboarding walkthrough

A personal guide that walks a new user through getting started — one step at a time, confirming as it goes, so nobody gets lost.

The identity​

curl -sS -X POST https://api.lookalike.com/v1/identities \
-H "Authorization: Bearer $LOOKALIKE_API_KEY" \
-F "name=Guide" \
-F "instructions=You are a friendly onboarding guide for Acme. Walk the user through setup one step at a time. Give a single clear instruction, wait for them to confirm they have done it, and only then move to the next step. If they get stuck, offer a simpler way." \
-F "avatar_id=avt_stock_sophie" \
-F "voice_id=voc_stock_sophie"
# -> { "id": "id_...", "object": "identity", "status": "active", ... }

The session​

curl -sS -X POST https://api.lookalike.com/v1/sessions \
-H "Authorization: Bearer $LOOKALIKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "identity_id": "id_..." }'

Join with a LiveKit client using the returned transport.url and transport.token — see the Realtime API guide.

Make it feel right​

One step at a time. The instructions tell the guide to give a single instruction and wait for confirmation before continuing, which keeps a walkthrough from overwhelming a brand-new user.

Next​