How to get an Anthropic API key
================================

NP Visitor Journeys' weekly AI report uses Anthropic's API to compile
your traffic summary. You'll need your own Anthropic API key for it to
work — here's how to get one.

1. Go to https://console.anthropic.com/ and sign up (or log in if you
   already have an account).

2. Add a payment method. Anthropic's API is pay-as-you-go and requires
   billing details before it will issue a working key.

3. In the left-hand menu, go to "API Keys".

4. Click "Create Key", give it a name (e.g. "NP Visitor Journeys"), and
   click Create.

5. Copy the key it shows you — Anthropic only displays the full key once.

6. In WordPress, go to NP Visitor Journeys > Reporting > AI Connection,
   paste the key into the "Anthropic API key" field, and click
   "Save & Validate". The plugin checks the key actually works before
   saving it, and stores it encrypted in your database.

Typical cost: a weekly report uses a small number of tokens per run, so
the cost is usually a fraction of a cent to a few cents per report,
depending on how much traffic data is included. Check Anthropic's
current pricing at https://www.anthropic.com/pricing.

Need a hand? Get in touch via https://norttipaikalle.fi and we'll help
you get set up.
