Get started in three steps
Get PromptMetrics running and log your first LLM request with full EU AI Act compliance tracking.Step 1: Set up your account
Create your workspace
Create your workspace
Sign up for a free account at app.promptmetrics.ai and create your first workspace. All your data is automatically stored in our EU-central-1 (Frankfurt) region with guaranteed EU data residency.Your workspace will include:
- 5 days log retention
- Up to 5,000 requests/month
- EU data residency
- Basic compliance reporting
Get your API key
Get your API key
Navigate to Settings > API Keys and generate your PromptMetrics API key. This key enables automatic request logging while keeping your LLM provider API keys secure—they never leave your environment.
Step 2: Install and configure
Clone the SDK locally
Clone the SDK locally
Install the PromptMetrics SDK for your language:PythonJavaScript/TypeScriptLangChain Integration
Start logging requests
Start logging requests
Python with OpenAIJavaScript with OpenAILangChain Integration
Step 3: Go live
View your first request
View your first request
Navigate to your PromptMetrics dashboard at app.promptmetrics.ai/requests to see your logged request with:
- Complete prompt and response
- Token usage and cost breakdown
- Latency metrics (total duration, time to first token)
- EU AI Act compliance fields (risk level, use case, human oversight)
- Unique request ID for tracking
- Automatic EU data residency verification
Publish your first prompt template
Publish your first prompt template
Move your prompts out of code and into the Prompt Registry for version control and compliance tracking:python
Next steps
Now that you have PromptMetrics running, explore these core capabilities:Track and Observe
Learn MDX syntax and start writing your documentation.
Customize style
Make your docs match your brand perfectly.
Add code examples
Include syntax-highlighted code blocks.
API documentation
Auto-generate API docs from OpenAPI specs.
Need help? See our full documentation or join our community.