Get Your API Key
1
Sign in to Nogic
Go to nogic.dev and sign in with your account.
2
Navigate to API Keys
Click on Settings in the sidebar, then select API Keys.
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:Login to the CLI
Run the login command:Where is My Key Stored?
Your API key is stored in~/.nogic/config.json:
The API URL is built into the CLI - you only need to store your API key.
Verify Authentication
To check if you’re authenticated:Logout
To remove your stored credentials:Multiple Environments
If you need to use different API keys for different projects, you can set theNOGIC_API_KEY environment variable:
Next Steps
CLI Commands
Learn all available CLI commands