Skip to main content

Variables

SENTINEL_API_KEY
string
required
Your Ingest API Key for authenticating requests to the ingestion API. Get this from your Sentinel dashboard.
SENTINEL_DEBUG
boolean
Enable debug logging to see logs when events are sent. Useful for verifying that events are being tracked correctly. Default: false

Example

Create a .env file in your project root:
.env
SENTINEL_API_KEY=sk_live_abc123...
SENTINEL_DEBUG=false
Never commit .env files to version control. Add them to your .gitignore.