Configuration Reference
The SDK is built to require almost no configuration. Only your project and secret keys are required.
| Option | Type | Default |
|---|---|---|
projectKey | string | required |
secretKey | string | required |
enabled | boolean | true |
| Option | Type | Default |
|---|---|---|
project_key | str | required |
secret_key | str | required |
enabled | bool | True |
| Option | Type | Default |
|---|---|---|
ProjectKey | string | required |
SecretKey | string | required |
Enabled | *bool | true |
enabled: false is a no-op mode — the SDK accepts events but discards them. Useful in tests and local dev.
Key format
- Project key: starts with
pk_followed by 22 base64url characters - Secret key: 43 base64url characters
Copy both directly from your project settings. Treat the secret key like a password.