DocsPrompt ManagementGet Started

Get Started with Prompt Management

This guide walks you through creating and using a prompt with Langfuse. If you’re looking to understand what prompt management is and why it matters, check out the Prompt Management Overview first. For details on how prompts 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.

Set up your AI agent

Use the Langfuse Skill in your editor’s agent mode to automatically create, edit, and use prompts.

What is a Skill? A reusable instruction package for AI coding agents. It gives your agent Langfuse-specific workflows and best practices out of the box.

Install the Langfuse Skill in your coding tool:

Langfuse has a Cursor Plugin that includes the skill automatically.

Create and use prompts

Start a new agent session, then prompt it to migrate your existing prompts to Langfuse:

Agent instruction
"Migrate the prompts in this codebase to Langfuse."

Not seeing what you expected?

Next steps

Now that you’ve used your first prompt, there are a couple of things we recommend you do next to make the most of Langfuse Prompt Management:

Looking for something specific? Take a look under Features for guides on specific topics.

Was this page helpful?