Auth

Authenticate your project with General Translation

Usage

npx gtx-cli auth

Overview

Use this CLI command to generate an API key and project ID for your project. This command will:

  1. Prompt the user to signin to the General Translation dashboard.
  2. Generate an API key and project ID for your project.
  3. Create a .env.local file in the root of your project and add it to your .gitignore file (if it doesn't already exist).
  4. Add the API key and project ID to the .env.local file.

On this page