Skip to main content

Get Your API Key

1

Sign in to Nogic

Go to nogic.dev and sign in with your account.
2

Open the Dashboard

Navigate to the Dashboard where your API keys are managed.
3

Create a New Key

Click Create API Key, give it a name (e.g., “My Laptop”), and click Create.
4

Copy Your Key

Copy the API key that appears. It starts with sk_ and looks like:
sk_aBcDeFgHiJkLmNoPqRsTuVwXyZ123456
Save your key immediately! You won’t be able to see it again after closing the dialog. If you lose it, create a new one.

Login to the CLI

nogic login
When prompted, paste your API key:
> Get your API key from the Nogic dashboard.

  Opened https://www.nogic.dev/dashboard

Paste your API key:

> Logged in as user_01a...
  API key saved. You're ready to go.

Where is My Key Stored?

Your API key is stored in ~/.nogic/config.json:
{
  "api_key": "sk_..."
}

Verify Authentication

nogic projects list
────────── nogic projects ──────────────
  2 project(s)
  my-project   (a1b2c3d4...) *
  other-project (e5f6g7h8...)

  * = current project

Environment Variable Override

You can override the stored API key for a single command:
NOGIC_API_KEY=sk_different_key nogic projects list

Next Steps

CLI Commands

Learn all available CLI commands