Authentication

After installing the extension, the sidebar shows a welcome screen with two authentication options.

Login with DevSpeak Account (OAuth)

Click Login with DevSpeak Account to open a browser window. Sign in with your Google or GitHub account — the same credentials you use at [devspeak.dev](https://www.devspeak.dev).

Once authenticated, the browser will redirect back and the extension will receive a session token automatically. No manual copy-paste required.

Login with API Key

If you prefer key-based authentication:

1. Go to [devspeak.dev](https://www.devspeak.dev) → SettingsAPI Keys.

2. Generate a new key (format: dsk_live_…).

3. In VS Code, click Login with API Key and paste the key.

API key login is available on the Developer tier and above.

Session Management

  • Your session persists across VS Code restarts.
  • To sign out, run DevSpeak: Logout from the Command Palette (Ctrl+Shift+P).
  • To switch accounts, log out first, then log in with a different method.
  • Verifying Authentication

    After a successful login, the sidebar transitions from the welcome screen to the full translation panel with your subscription tier badge, refinement count, and remaining quota visible at the top.