Get started
Quickstart
Turn developer mode on, connect your AI with one prompt, and make your first call.
Before you start
- You need a Panlytics company account.
- Only the CEO can turn developer mode on.
- Anybody else needs a role that holds "Make keys for programs and AI agents". Only the CEO can give it, on the Roles page.
1. Turn on
- Open Settings, then Developer.
- Press Turn on.
- A dialog asks Give an AI access? Press Confirm with passkey.
One step turns developer mode on and makes your key. If you are not the CEO and developer mode is off, the card says "Ask your CEO to turn this on."
2. Paste
- Pick your AI: Claude, ChatGPT or Gemini. Each opens that AI in a new tab.
- Press Copy prompt. The key stays masked on the page and goes only to your clipboard.
- Paste the prompt into your AI's chat.
The card now says Waiting for your AI.
3. Connected
The card turns to Connected as soon as your AI makes its first call. It shows:
- Ends in: how long access has left.
- Last action: when your AI last called.
- Disconnect: ends access at once.
When access ends, the card says Access ended. Press Connect again for a new prompt.
For a program
The prompt holds the key, which starts with pan_. Put it in an environment variable, never in a file:
Terminal
export PANLYTICS_KEY="pan_..."GET /v1/me answers with who the key acts as, which shops it reaches, what it may do and when it ends.
curl https://panlytics.net/api/v1/me \
-H "Authorization: Bearer $PANLYTICS_KEY"import os
import requests
answer = requests.get(
"https://panlytics.net/api/v1/me",
headers={"Authorization": f"Bearer {os.environ['PANLYTICS_KEY']}"},
timeout=30,
)
answer.raise_for_status()
print(answer.json())const answer = await fetch("https://panlytics.net/api/v1/me", {
headers: { Authorization: `Bearer ${process.env.PANLYTICS_KEY}` },
});
if (!answer.ok) throw new Error(`${answer.status}: ${(await answer.json()).code}`);
console.log(await answer.json());- A
200with your own name inuser.namemeans the key works. - A
401means the key is wrong or has ended. Press Connect again. - Every field is on the GET /v1/me page.
What to read next
- Keys and rotation: when keys end and what ends them early.
- Rate limits: 120 calls a minute per key.
- Errors: every code an answer can carry.