DocsObservabilityGet Started

Get Started with Tracing

This guide walks you through ingesting your first trace into Langfuse. If you’re looking to understand what tracing is and why it matters, check out the Observability Overview first. For details on how traces are structured in Langfuse and how it works in the background, see Core Concepts.

Get API keys

  1. Create Langfuse account or self-host Langfuse.
  2. Create new API credentials in the project settings.

Ingest your first trace

Use the Langfuse Skill in your editor’s agent mode to automatically instrument your application. It will choose the best option to instrument based on your specific application.

  1. Install the Langfuse Skill:
# Cursor plugin
/add-plugin langfuse
 
# skills CLI
npx skills add langfuse/skills --skill "langfuse"
 
# Manual: clone and symlink
git clone https://github.com/langfuse/skills.git /path/to/langfuse-skills
ln -s /path/to/langfuse-skills/skills/langfuse ~/.skills/langfuse
  1. Ask the agent to instrument your application with Langfuse:
Instrument this application with Langfuse tracing following best practices.

See your trace in Langfuse

After running your application, visit the Langfuse interface to view the trace you just created. (Example LangGraph trace in Langfuse)

Not seeing what you expected?

Next steps

Now that you’ve ingested your first trace, you can start adding on more functionality to your traces. We recommend starting with the following:

Already know what you want? Take a look under Features for guides on specific topics.

Was this page helpful?