Skip to content

Commit 41f63e0

Browse files
joaquin-lkclaudeJackNDwyer
authored
Update token server sandbox docs to point to project settings (#62)
* Update token server sandbox docs to point to project settings The sandbox token server is now auto-generated at the project level. Updated docs to point users to the Settings > Options page instead of the old sandbox templates page, and linked to the new auth docs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Fix sandboxID casing and token server wording Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update README.md Small copy tweak * at -> on copy tweak Small copy change --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Jack <jackndwyer@gmail.com>
1 parent aadf025 commit 41f63e0

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

@@ -23,11 +23,11 @@ Build and run the app in Android Studio.
2323
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/).
2424

2525
> [!NOTE]
26-
> To setup without the LiveKit CLI, clone the repository and edit the `TokenExt.kt` 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.
26+
> To setup without the LiveKit CLI, clone the repository and edit the `TokenExt.kt` 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.
2727
2828
## Token generation
2929

30-
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 `TokenExt.kt` to use your own token server.
30+
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 `TokenExt.kt` to use your own token server.
3131

3232
## Contributing
3333

app/src/main/java/io/livekit/android/example/voiceassistant/TokenExt.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package io.livekit.android.example.voiceassistant
33
// TODO: Add your Sandbox ID here
44
const val sandboxID = ""
55

6-
// NOTE: If you prefer not to use LiveKit Sandboxes for testing, you can generate your
6+
// NOTE: If you prefer not to use the token server for testing, you can generate your
77
// tokens manually by visiting https://cloud.livekit.io/projects/p_/settings/keys
88
// and using one of your API Keys to generate a token with custom TTL and permissions.
99
const val hardcodedUrl = ""

0 commit comments

Comments
 (0)