Skip to main content
Automated setup available. Copy the prompts skill prompt into your coding agent to set up prompt versioning automatically.
A prompt managed in LangWatch holds its text and its dynamic variables on the platform, so your team can update AI interactions without changing code. The steps below create your first prompt and call it from your application.

Get API keys

  1. Create a LangWatch account or set up self-hosted LangWatch
  2. Create new API credentials in your project settings
  3. Note your API key for use in the steps below

Create a prompt

Use the LangWatch UI to create a new prompt or update an existing one.
  1. Navigate to your project dashboard
  2. Go to Prompt Management in the sidebar
  3. Click “Create New Prompt”
  4. Fill in the prompt details and save
Editing a prompt in LangWatch UI

Use prompt

At runtime, you can fetch the latest version of your prompt from LangWatch using the prompt handle.
use_prompt.py
You can link your prompt to LLM generation traces to track performance and see which prompt versions work best. For detailed information about linking prompts to traces, see the Link to Traces page.
tracing.py

← Back to Prompt Management Overview
Last modified on August 23, 2026