---
url: 'https://docs.kitbase.dev/getting-started.md'
description: Install the Kitbase SDK and send your first event in under five minutes.
---

# Getting Started

Get up and running with Kitbase in minutes.

## Installation

::: code-group

```bash [pnpm]
pnpm add @kitbase/analytics
```

```bash [npm]
npm install @kitbase/analytics
```

```bash [yarn]
yarn add @kitbase/analytics
```

:::

## Analytics & Events

Track pageviews, sessions, and custom events.

```typescript
import { init } from '@kitbase/analytics';

const kitbase = init({
  sdkKey: '<YOUR_API_KEY>',
});

// Track custom events
await kitbase.track({
  channel: 'payments',
  event: 'New Subscription',
  user_id: 'user-123',
  icon: '💰',
  notify: true,
  tags: {
    plan: 'premium',
    amount: 9.99,
  },
});
```

[Learn more about Events →](/track-events)

## Next steps

* [Web Analytics overview](/web-analytics) — how capture, filtering, and enrichment fit together.
* [Track Events](/track-events) — channels, tags, notifications, and revenue tracking.
* [SDKs & Tools](/sdks/) — React, Angular, the CLI, and the MCP server.
* [Dashboard guide](/guide/) — analytics, events, sessions, and users views.
