# Quickstart (10 minutes)

## 1. Create your workspace

Go to [crawlgenie.com/start](https://crawlgenie.com/start) and sign up with your e-mail or Google. A short onboarding asks what you do and suggests three examples; then the **Get started** checklist walks you through the rest and ticks itself off as you go. Your API key is under **Keys & team** and is already filled into every snippet on **Connect your AI**.

In the examples below, `$CRAWLGENIE` is `https://crawlgenie.com` and `$KEY` is your API key. Keep the key private, like a password.

## 2. Describe what you need, or run a ready-made agent (no code)

Not sure which agent or tool to use? Type the job in plain words in the **Describe what you need** box on Overview (or press Ctrl+K), for example "Indeed jobs for data engineer in Berlin every day" or "tell me when acme.com/pricing changes". CrawlGenie suggests the agent or tool, fills in the address, schedule or place from what you wrote, and runs it or creates the watch with one click.

Or open **Agents**, pick one such as **Greenhouse career page** or **Product Hunt launches**, fill in the input and click **Run**. You get a table in seconds at zero model tokens. Click **Schedule as a watch** to run it on a schedule and be told only what changed.

## 3. Watch an agent drive a browser

1. Click **New session**, set the start URL to `https://news.ycombinator.com`, keep *approvals: destructive*, and click **Create session**.
2. The **live view** is on the left and the **Snapshot** on the right. That compact list is exactly what a model reads; compare its token count with "raw".
3. Tick **take over** and click a link in the live view: that is human handoff.
4. Open **Timeline** to see every step with a screenshot. Drag back and click **Fork** to branch a new session from that moment.
5. Click **Save as routine** and name it `hn-newest`. Open **Routines** and **Run** it: the replay costs zero model tokens.

## 4. Connect your AI

**Try it first, no account.** Copy your personal trial address from [crawlgenie.com/try](https://crawlgenie.com/try) and add it as a custom connector with no authentication: reading, research and compress, 10 calls an hour and 30 a day. Start questions with "Use CrawlGenie". See [crawlgenie.com/try](https://crawlgenie.com/try).

**ChatGPT, claude.ai, Claude Desktop, Perplexity.** Add a custom connector with the URL `https://crawlgenie.com/mcp/chat` and choose OAuth. CrawlGenie shows a consent page; click **Allow**. Then ask in your own words, for example *"What is the refund policy on acme.com/terms?"*.

**Claude Code, Cursor, Codex (MCP)**
```bash
claude mcp add --transport http crawlgenie https://crawlgenie.com/mcp --header "Authorization: Bearer $KEY"
```
Then: *"Open news.ycombinator.com and tell me the top 3 stories."*

**Any model with function calling (OpenAI, Anthropic, Gemini SDKs)** · install with `pip install https://crawlgenie.com/downloads/crawlgenie-python.tar.gz`
```python
from crawlgenie import CrawlGenie
v = CrawlGenie("https://crawlgenie.com", api_key="<key>")
tools = v.tools.definitions("openai")                      # pass to your chat call as tools=
result = v.tools.call("web_answer", {"url": "https://acme.com/terms", "question": "What is the refund policy?"}, agent="run-1")
print(result["text"])                                      # feed back as the tool result
```

**Your own code (TypeScript SDK)** · install with `npm i https://crawlgenie.com/downloads/crawlgenie-sdk.tgz`
```ts
import { CrawlGenie } from 'crawlgenie';
const v = new CrawlGenie({ baseUrl: 'https://crawlgenie.com', apiKey: process.env.CRAWLGENIE_KEY });
const s = await v.sessions.create({ url: 'https://news.ycombinator.com', policy: { approvals: { mode: 'destructive' } } });
const { tree } = await s.snapshot();                        // "- link "new" [ref=e17] ..."
await s.act([{ type: 'click', ref: 'e17' }], { snapshotOptions: { delta: true } });
console.log((await s.refresh()).usage.tokenSavingsPct, '% tokens saved');
await s.close();
```

## 5. Just need the page?

```bash
curl -X POST $CRAWLGENIE/v1/scrape -H "authorization: Bearer $KEY" -H 'content-type: application/json' \
  -d '{ "url": "https://news.ycombinator.com", "format": "markdown", "q": "top stories" }'
```

One call opens the page, keeps the passages that answer `q`, and returns them with a count of the tokens saved. PDFs, Word, Excel and Google Docs links work the same way.

## 6. Put guardrails on

Rules travel with each session and are enforced by CrawlGenie, not by the model:
```jsonc
{ "allowDomains": ["*.yourvendor.com"], "approvals": { "mode": "destructive", "patterns": ["wire", "cancel subscription"] },
  "maxActions": 300, "maxDurationSec": 900, "blockResources": ["image", "media", "font"] }
```
Held actions show on the Overview and on the session page until someone approves them.

## 7. Keep logins, and never show a password to the model

In a live session, sign in (take over if needed) and click **Save profile**, for example `acme-bot`. Later sessions start signed in with `sessions.create({ profile: 'acme-bot' })`.

For passwords, open **Vault**, add `acme_password` limited to `*.acme.com`, and let the agent type `{{secret:acme_password}}`. CrawlGenie swaps in the real value at the moment of typing; prompts, results, recordings and routines only ever contain the placeholder.

## Where next
- [Concepts: what to use for what](/docs/concepts)
- [Connect ChatGPT, Claude and agents](/docs/integrations)
- [HTTP API reference](/docs/api)
- [Security and data safety](/docs/security)
- [FAQ](/docs/faq)
