Product Analytics
Authentication
Authentication
Product Analytics uses public API keys. Use the key for the organization and environment you want to send data to.
Get an API key
- Open the Product Analytics catalog.
- Open the Details tab.
- In Credentials, copy an existing key, or create one if you manage API keys for the organization.
SDK authentication examples
Initialize your SDK once with the API key for the target environment:
import { altertable } from '@altertable/altertable-js';altertable.init('YOUR_API_KEY');
Direct API authentication
For direct HTTP requests, use the same API key as your SDKs. See API authentication for supported headers and query parameters.
Next steps
- Track events: Start sending product events
- Identify users: Set up user identification