Skip to main content

Variables

string
required
Your Ingest API Key for authenticating requests to the ingestion API. Get this from your Sentinel dashboard.
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
Never commit .env files to version control. Add them to your .gitignore.