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

# traceback init

> Automatically detect frameworks and scaffold Traceback SDK configuration files.

## Usage

```bash theme={null}
traceback init [framework] [options]
```

## Description

The `init` command inspects your codebase (package.json, pyproject.toml, Cargo.toml, or go.mod), detects your framework, prompts you to select or create a project, and writes appropriate initialization templates.

## Examples

```bash theme={null}
# Interactive wizard
traceback init

# Direct framework setup
traceback init nextjs
traceback init fastapi
```

## Options

| Option             | Alias | Description                                        |
| :----------------- | :---- | :------------------------------------------------- |
| `--project <name>` | `-p`  | Target project slug in your Traceback organization |
| `--dsn <dsn_url>`  |       | Explicitly provide DSN without logging in          |
| `--yes`            | `-y`  | Accept all default configuration prompts           |
