langfuse-install-auth

Featured

Install and configure Langfuse SDK authentication for LLM observability. Use when setting up a new Langfuse integration, configuring API keys, or initializing Langfuse tracing in your project. Trigger with phrases like "install langfuse", "setup langfuse", "langfuse auth", "configure langfuse API key", "langfuse tracing setup".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Langfuse Install & Auth ## Overview Install the Langfuse SDK and configure authentication for LLM observability. Covers both the legacy `langfuse` package (v3) and the modern modular SDK (v4+/v5) built on OpenTelemetry. ## Prerequisites - Node.js 18+ or Python 3.9+ - Package manager (npm, pnpm, or pip) - Langfuse account (cloud at https://cloud.langfuse.com or self-hosted) - Public Key (`pk-lf-...`) and Secret Key (`sk-lf-...`) from project settings ## Instructions ### Step 1: Install SDK **TypeScript/JavaScript (v4+ modular SDK -- recommended):** ```bash set -euo pipefail # Core client for prompt management, datasets, scores npm install @langfuse/client # Tracing (observe, startActiveObservation) npm install @langfuse/tracing @langfuse/otel @opentelemetry/sdk-node # OpenAI integration (drop-in wrapper) npm install @langfuse/openai # LangChain integration npm install @langfuse/langchain ``` **TypeScript/JavaScript (v3 legacy -- single package):** ```bash npm install langfuse ``` **Python:** ```bash pip install langfuse ``` ### Step 2: Get API Keys 1. Open Langfuse dashboard (https://cloud.langfuse.com or your self-hosted URL) 2. Go to **Settings > API Keys** 3. Click **Create new API key pair** 4. Copy both keys: - **Public Key**: `pk-lf-...` (identifies your project) - **Secret Key**: `sk-lf-...` (grants write access -- keep secret) 5. Note the host URL (cloud default: `https://cloud.langfuse.com`) ### Step 3: Configure Environment Variables ```bash # S...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

langfuse-security-basics

Implement Langfuse security best practices for API keys and data privacy. Use when securing Langfuse integration, protecting API keys, or implementing data privacy controls for LLM observability. Trigger with phrases like "langfuse security", "langfuse API key security", "langfuse data privacy", "secure langfuse", "langfuse PII".

2,266 Updated today
jeremylongshore
AI & Automation Listed

langfuse-setup

Set up or disable Langfuse observability for Claude Code sessions. Manages hook configuration, credential verification, and connection testing.

10 Updated today
stevengonsalvez
AI & Automation Featured

langfuse-common-errors

Diagnose and fix common Langfuse errors and exceptions. Use when encountering Langfuse errors, debugging missing traces, or troubleshooting integration issues. Trigger with phrases like "langfuse error", "fix langfuse", "langfuse not working", "debug langfuse", "traces not appearing".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-multi-env-setup

Configure Langfuse across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment keys, or implementing environment-specific Langfuse configurations. Trigger with phrases like "langfuse environments", "langfuse staging", "langfuse dev prod", "langfuse environment setup", "langfuse config by env".

2,266 Updated today
jeremylongshore
AI & Automation Featured

langfuse-observability

Set up comprehensive observability for Langfuse with metrics, dashboards, and alerts. Use when implementing monitoring for LLM operations, setting up dashboards, or configuring alerting for Langfuse integration health. Trigger with phrases like "langfuse monitoring", "langfuse metrics", "langfuse observability", "monitor langfuse", "langfuse alerts", "langfuse dashboard".

2,266 Updated today
jeremylongshore