Skip to main content
This guide records one production-shaped event and verifies the receipt.

1. Create a project

In Lodger, create a project for the product area that owns the records. Most teams start with core, then add projects for separate products, environments, or regulated data boundaries. Use private receipt and policy access for internal projects, and public access when customers should be able to open links without a token. Activity links can be disabled per project.

2. Create an API key

Create an API key with:
  • events:write for event ingestion.
  • events:read if the integration needs retained-event queries.
  • A project restriction when the key should only write to one project.
  • Allowed actions when the key should only write known event names.
Keep the key server-side. Do not expose it in browser code.

3. Install the SDK

4. Record an event

5. Verify the receipt

Private project receipts can also be shared with scoped receipt tokens:
The receipt response includes the event hash, previous hash, received time, lane, storage class, policy version, and verification URL.

6. Query records

See the query guide for grouped totals and query allowances.