Prerequisites
- An Entri account (sign up at app.nt3.io)
- Node.js 18 or later
- A project with at least one target language configured in the Entri dashboard
Step 1: Install the CLI
Install thent3 CLI globally:
npx:
Step 2: Create an API token
- Open the Entri dashboard and go to Settings > API Tokens
- Click Create token
- Give the token a name (e.g., “Local development”) and click Create
- Copy the token — it starts with
entri_and is only shown once
Step 3: Log in
~/.nt3/config.json with owner-only file permissions.
For non-interactive environments, pass the token directly:
Step 4: Initialize your project
Run this in your project root (where your translation files live):- Your Project ID (found in the Entri dashboard under Settings)
- Your source language (e.g.,
en) - The file pattern path (e.g.,
src/locales/{lang}.json) - The file format (e.g.,
json-nested)
.nt3.yml configuration file:
Step 5: Push your source strings
Upload your source translation file to Entri:Step 6: Translate with AI (optional)
Trigger AI translation for all target languages:Step 7: Pull translations
Download the translated files back to your project:.nt3.yml, replacing {lang} with each target language code.
What’s next
CLI Configuration
Learn all the options available in .nt3.yml, including multi-pattern setups.
CI/CD Integration
Automate translation syncing in GitHub Actions and other pipelines.
API Tokens
Create scoped tokens for different environments and team members.
REST API
Integrate Entri directly into your application using the REST API.