# Setup Proactive Reporting

Proactive reporting prompts users to send feedback when the SDK detects a frustrating experience. Configure it with `ProactiveReportingConfig`.

### Configuration

{% code title="Kotlin" %}

```kotlin
val config = ProactiveReportingConfig(
    enabled = true,
    gapBetweenModals = 60,              // seconds between modal prompts (optional)
    modalDelayAfterDetection = 5        // seconds after detection before showing modal (optional)
)
BugReportingKmp.setProactiveReportingConfigurations(config)
```

{% endcode %}

* **enabled**: Turn proactive reporting on or off.
* **gapBetweenModals**: Minimum time (seconds) between two proactive modals. Use `null` for default.
* **modalDelayAfterDetection**: Delay (seconds) after a frustrating experience is detected before showing the modal. Use `null` for default.
