Deploy a sandbox app • LiveKit Docs • LiveKit Cloud • Blog
A basic LiveKit token server using Node + TypeScipt. For details on generating tokens, see our documentation.
Clone the repository and install dependencies:
cd token-server-node
pnpm installSet up the environment by copying .env.example to .env.local and filling in the required values:
LIVEKIT_URLLIVEKIT_API_KEYLIVEKIT_API_SECRET
You can also do this automatically using the LiveKit CLI:
lk app envBuild and run the server:
pnpm build && pnpm start