← Back to Documentation

SEOgent — Getting Started

SEOgent helps you find and fix SEO issues across your entire site. You can run scans from the dashboard or from the command line — both use the same engine and produce the same results.

Quick start for AI coding agents: Download the SEOgent SEO Skill to give your AI agent built-in SEO scanning capabilities — no manual setup required.


1. Create an API Token

You need an API token to use the CLI or API. Dashboard scans don't require one.

  1. Log in to your SEOgent account
  2. Navigate to Settings > API Tokens (/settings/api-tokens)
  3. Enter a name for your token (e.g., "My CLI Token") and click Create
  4. Copy the token immediately — it will only be shown once

Keep your token secure. Treat it like a password.


2. Run Your First Scan

From the dashboard

Click New Scan in the dashboard, enter a domain or paste specific URLs, choose your scan options (SEO analysis, Core Web Vitals, link checking, accessibility), and hit Start Scan. You can monitor progress in real time and drill into per-page results once the scan completes. See the Dashboard Guide for a full walkthrough.

From the CLI

Install the CLI globally, authenticate, and start a scan:

npm install -g seogent
seogent auth <your-api-token>
seogent scan https://example.com

This returns a scan ID immediately. Use it to check progress and retrieve results:

seogent status <scan_id>
seogent results <scan_id>

You can add optional flags to extend the scan:

Combine them as needed:

seogent scan https://example.com --performance --link-check --a11y --max-pages 100

For every command and flag, see the CLI Reference. For direct HTTP API usage, see the API Reference.


3. Understand Your Results

Every scanned page receives a 0–100 SEO score and a letter grade. Results are grouped into categories — meta tags, indexability, crawlability, content quality, and (optionally) performance and accessibility.


4. Authentication Options (CLI)

The CLI supports three ways to provide your API token:

Priority order: --api-key flag > environment variable > config file.


5. Managing Your Tokens

You can manage your API tokens at any time from the SEOgent dashboard:

Navigate to Settings > API Tokens to manage your tokens.


Next Steps


Download the SEO Skill for AI Agents

Want to get started even faster? Download the SEOgent SEO Skill — a ready-made skill package that lets AI coding agents like Claude Code run SEO scans directly. Just drop it into your project and your agent can start scanning.