GetToken Docs

GetToken Documentation

Learn Codex step by step, from core concepts and installation to GetToken API access, tool configuration, and troubleshooting.

View my API Key

Sign in, reveal your current GetToken API Key, then copy it into Codex or OpenCode.

Get Started with GetToken

5-Minute Quick Start

Sign in, get an API Key, pick an endpoint, configure Codex, and run one test request.

Updated
Last verified
Maintained by
GetToken Documentation Team

This page is for first-time users. The goal is to make one tool work before you learn every detail.

Requirements

  • Node.js and npm are installed.
  • You are signed in to GetToken.
  • You have a GetToken API Key.
  • You can open a terminal.

Console URL:

text
https://gettoken.dev/console/api-keys

Recommended: automatic Codex setup

macOS / Linux:

bash
GETTOKEN_API_KEY="<your GetToken API Key>" \
GETTOKEN_BASE_URL="https://api.clawto.link" \
bash -c "$(curl -fsSL 'https://cdn.gettoken.dev/scripts/codex-install-config.sh')"

Windows PowerShell:

powershell
$env:GETTOKEN_API_KEY='<your GetToken API Key>'; $env:GETTOKEN_BASE_URL='https://api.clawto.link'; irm 'https://cdn.gettoken.dev/scripts/codex-install-config.ps1' | iex

The script installs Codex CLI if needed, backs up existing files, and writes:

  • ~/.codex/config.toml
  • ~/.codex/auth.json

Use CC Switch

In the API Key list, click CC Switch to import your GetToken provider into CC Switch. The import contains the API Key, endpoint, and default model.

Screenshot placeholder: CC Switch button in the API Key list.

Verify

bash
codex "Say hello in one short sentence"

If you get a normal response, Codex is now using GetToken.

Next steps

  • To configure Codex App / CLI manually, read Codex App and Codex CLI.
  • To configure Cursor, read Cursor Configuration.
  • To configure OpenCode, read OpenCode.
  • If you hit an error, read Troubleshooting.