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

# Introduction

> Real-time event infrastructure for modern applications

Flux is a real-time event platform that makes it easy to build event-driven applications. Send, receive, and react to events across your entire stack with a simple API.

## Why Flux

<CardGroup cols={2}>
  <Card title="Simple Integration" icon="plug">
    Drop-in SDKs for Node.js, Python, Go, and more. Start sending events in minutes.
  </Card>

  <Card title="Guaranteed Delivery" icon="shield-check">
    Events are persisted and retried automatically. Never lose critical data.
  </Card>

  <Card title="Real-time Webhooks" icon="bolt">
    Receive events instantly via webhooks with automatic signature verification.
  </Card>

  <Card title="Full Observability" icon="chart-line">
    Debug issues fast with event logs, traces, and delivery analytics.
  </Card>
</CardGroup>

## Quick Links

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/docs/quickstart">
    Send your first event in 5 minutes
  </Card>

  <Card title="SDK Guide" icon="code" href="/docs/guides/sdk">
    Integrate Flux into your application
  </Card>

  <Card title="Webhooks" icon="webhook" href="/docs/guides/webhooks">
    Set up real-time event delivery
  </Card>

  <Card title="API Reference" icon="terminal" href="/docs/api-reference/introduction">
    Explore the REST API
  </Card>
</CardGroup>

## Example

Here's how simple it is to send an event with Flux:

<CodeGroup>
  ```typescript Node.js theme={null}
  import Flux from '@flux/node';

  const flux = new Flux('sk_live_...');

  await flux.events.send({
    type: 'user.signup',
    data: {
      userId: 'usr_123',
      email: 'jane@example.com',
      plan: 'pro'
    }
  });
  ```

  ```python Python theme={null}
  from flux import Flux

  flux = Flux("sk_live_...")

  flux.events.send(
      type="user.signup",
      data={
          "user_id": "usr_123",
          "email": "jane@example.com",
          "plan": "pro"
      }
  )
  ```

  ```go Go theme={null}
  import "github.com/flux-events/flux-go"

  client := flux.New("sk_live_...")

  client.Events.Send(&flux.Event{
      Type: "user.signup",
      Data: map[string]interface{}{
          "userId": "usr_123",
          "email":  "jane@example.com",
          "plan":   "pro",
      },
  })
  ```
</CodeGroup>
