Getting Your Gateway Key

Summary

How to request and safely store your personal Cornell AI gateway key.

Body

Appendix: Getting Your Gateway Key

Every guide needs a personal key to connect to Cornell's AI gateway. You request it once and reuse it on all your devices.

ℹ️ This request process may change. Always check the top of this article for the current method before requesting.


Current process

  1. Email ai-support@cornell.edu.
  2. Include your KFS account number (this is how usage is attributed).
  3. You'll receive a personal key that looks like sk-….

Keep your key safe

  • Treat it like a password. Don't share it, post it, or paste it into emails or documents you share.
  • It's fine to reuse the same key across your Mac, PC, terminal, VSCode, and Desktop app.
  • If you think your key was exposed, email ai-support@cornell.edu to have it replaced.

Where the key goes

If you're using… Paste your key into…
Claude Code (CLI) the ANTHROPIC_AUTH_TOKEN line in settings.jsonClaude Code (CLI) on Cornell's AI Gateway, Step 2
Claude Code in VSCode the same settings.json (shared with the CLI) — Claude Code in VSCode on Cornell's AI Gateway
Claude Desktop the Gateway API key field — Claude Desktop (Cowork) on Cornell's AI Gateway, Step 3

Details

Details

Article ID: 8244
Created
Tue 6/23/26 10:59 AM
Modified
Wed 6/24/26 1:52 PM

Related Articles

Related Articles (2)

Set up the point-and-click Claude Desktop app in Cowork third-party-inference mode through Cornell's gateway.
Pick your path (CLI, VSCode, or Desktop) and gather the gateway address, your key, and the model names.