> ## Documentation Index
> Fetch the complete documentation index at: https://developer.keverd.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Get your account and API key, then integrate the SDK in three steps.

# Quickstart

## 1. Get API keys

1. Open [dashboard.keverd.com](https://dashboard.keverd.com)
2. Go to **Integrate → API keys**
3. Copy a **public** key (`kv_pk_…`) and a **secret** key (`kv_sk_…`)

<Warning>
  Never put a secret key (`kv_sk_…`) or webhook secret (`whsec_…`) in frontend code.
</Warning>

## 2. Collect in the browser

```bash theme={null}
npm install @keverdjs/agent
```

```typescript theme={null}
import { Keverd } from '@keverdjs/agent';

Keverd.init(process.env.NEXT_PUBLIC_KEVERD_PUBLIC_KEY); // kv_pk_…

const result = await Keverd.getVisitorData();
const eventId = result.event_id; // send to your backend
```

<Note>
  Use **`getVisitorData()`**. `Keverd.get()` returns a string id only, not `{ event_id }`.
</Note>

## 3. Verify on your server (billable)

```bash theme={null}
npm install @keverd/node
```

```ts theme={null}
import { Keverd } from '@keverdjs/node';

const keverd = new Keverd({ secretKey: process.env.KEVERD_SECRET_KEY! });
const decision = await keverd.verify(eventId);

if (decision.action === 'block') {
  // reject
} else if (decision.action === 'allow') {
  // continue
}
```

Also available: `pip install keverd` · `composer require keverd/keverd`

Branch on **`action`**, not a homemade score threshold.

## Next

* [Node.js SDK](/node-js)
* [Webhooks](/server/webhooks)
* [POST /v2/verify](/api-reference/verify)
