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,926 stars 433 forks Updated yesterday 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
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category