Skip to content

Commit eb42d4f

Browse files
joaquin-lkclaudeJackNDwyer
authored
Update token server sandbox docs to point to project settings (#31)
* Update token server sandbox docs to point to project settings Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * on -> at copy tweak --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Jack <jackndwyer@gmail.com>
1 parent a0ccbe3 commit eb42d4f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ This template is free for you to use or modify as you see fit.
88

99
## Getting started
1010

11-
The easiest way to get this app running is with the [Sandbox for LiveKit Cloud](https://cloud.livekit.io/projects/p_/sandbox) and the [LiveKit CLI](https://docs.livekit.io/home/cli/cli-setup/).
11+
The easiest way to get this app running is with a [token server](https://docs.livekit.io/frontends/authentication/tokens/sandbox-token-server/) and the [LiveKit CLI](https://docs.livekit.io/home/cli/cli-setup/).
1212

13-
First, create a new [Sandbox Token Server](https://cloud.livekit.io/projects/p_mytc7vpzfkt/sandbox/templates/token-server) for your LiveKit Cloud project.
13+
First, enable the token server from your project's **Options** on the [Settings](https://cloud.livekit.io/projects/p_/settings/project) page in LiveKit Cloud and copy the `sandboxID`.
1414

1515
Then, run the following command to automatically clone this template and connect it to LiveKit Cloud:
1616

@@ -33,11 +33,11 @@ npx expo run:ios
3333
You'll also need an agent to speak with. Try our starter agent for [Python](https://github.com/livekit-examples/agent-starter-python), [Node.js](https://github.com/livekit-examples/agent-starter-node), or [create your own from scratch](https://docs.livekit.io/agents/start/voice-ai/).
3434

3535
> [!NOTE]
36-
> To setup without the LiveKit CLI, clone the repository and edit the `hooks/useConnectionDetails.ts` file to add either a `sandboxID` (if using a [Sandbox Token Server](https://cloud.livekit.io/projects/p_/sandbox/templates/token-server)), or a [manually generated](#token-generation) URL and token.
36+
> To setup without the LiveKit CLI, clone the repository and edit the `hooks/useConnectionDetails.ts` file to add either a `sandboxID` (from your project's **Options** on the [Settings](https://cloud.livekit.io/projects/p_/settings/project) page), or a [manually generated](#token-generation) URL and token.
3737
3838
## Token generation
3939

40-
In a production environment, you will be responsible for developing a solution to [generate tokens for your users](https://docs.livekit.io/home/server/generating-tokens/) which is integrated with your authentication solution. You should disable your sandbox token server and modify `hooks/useConnectionDetails.ts` to use your own token server.
40+
In a production environment, you will be responsible for developing a solution to [generate tokens for your users](https://docs.livekit.io/home/server/generating-tokens/) which is integrated with your authentication solution. You should disable the token server and modify `hooks/useConnectionDetails.ts` to use your own token server.
4141

4242
## Contributing
4343

hooks/useConnection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const sandboxID = '';
88
// The name of the agent you wish to be dispatched.
99
const agentName = undefined
1010

11-
// NOTE: If you prefer not to use LiveKit Sandboxes for testing, you can generate your
11+
// NOTE: If you prefer not to use the token server for testing, you can generate your
1212
// tokens manually by visiting https://cloud.livekit.io/projects/p_/settings/keys
1313
// and using one of your API Keys to generate a token with custom TTL and permissions.
1414

0 commit comments

Comments
 (0)