Tokens and environments
Create a project token for builds and CI. Keep it out of browser code.
Create a token
- Open Tokens and select the project and environment.
- Choose New token and use a recognizable name such as
GitHub Actions. - Copy the complete value immediately. Linguana stores only its hash and never shows the secret again.
- Save it as
LINGUANA_PROJECT_TOKENin the matching CI environment.
export LINGUANA_PROJECT_TOKEN='lna_…'Do not prefix it with VITE_, serialize it into client state, log it, or commit it to an environment file.
Environment policy
Use development tokens for manifest upload and optional build-triggered development publishing. Keep production publishing in the dashboard’s explicit release workflow. A token is scoped to its project and environment; a correct-looking token from another environment should be rejected.
Rotate safely
- Create the replacement token.
- Update CI and complete a successful authenticated build.
- Confirm Last used changed for the replacement.
- Revoke the old token.
Next
Connect hosted translations using the token. For runtime delivery, use a browser-safe publishable key as described in Show translated content.
Create, store, rotate, and revoke the build credentials for each project environment.
Last updated October 3, 2026
Did this page get you to a working result?