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

# Quick Start

> Initialize the SDK and send your first event with Flutter.

### 1. Get Your API Key

Your API key can be found in your Zixflow account:

1. Log in to your [Zixflow account](https://app.zixflow.com)
2. Go to **Settings** → **Developers** → **API Keys**
3. Copy your API key

### 2. Basic Initialization

Create or update your `main.dart`:

```dart theme={null}
import 'package:flutter/material.dart';
import 'package:zixflow/zixflow.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  // Initialize Zixflow SDK
  final config = ZixflowConfig(
    apiKey: 'YOUR_API_KEY',
    logLevel: LogLevel.debug,
  );

  await Zixflow.initialize(config: config);

  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'My App',
      home: HomeScreen(),
    );
  }
}
```

Replace `YOUR_API_KEY` with your actual API key from the Zixflow dashboard.

***
