Docs
Integrations
Flowise

Flowise Integration

Flowise (GitHub (opens in a new tab)) is a no-code builder. It lets you build customized LLM flows with a drag & drop editor.

With the native integration, you can use Flowise to quickly create complex LLM applications in no-code and then use Langfuse to monitor and improve them.

The integration supports all use cases of Flowise, including: interactively in the UI, API, and embeds.

Integration

Obtain Langfuse API keys

  1. Create account and project on cloud.langfuse.com (opens in a new tab)
  2. Copy API keys for your project

Run Flowise

# install
npm install -g flowise
 
# start
npx flowise start

Add Langfuse

You can optionally add release to tag the current version of the flow. You usually don't need to change the other options.

Mapping of Flowise to Langfuse

The integration automatically maps the following fields from Flowise to Langfuse:

FlowiseLangfuseRequired version
chatId (opens in a new tab)sessionIdFlowise 1.4.10 (opens in a new tab)

Override Config

The Flowise allows you to pass additional parameters as overrideConfig to the Langfuse API. This can be used to pass additional information to Langfuse, such as userId for user-level tracking.

Learn more about overrideConfig in the Flowise Prediction API documentation (opens in a new tab).

{
  "question": "hi there",
  "overrideConfig": {
    "analytics": {
      "langFuse": {
        "userId": "user1"
      }
    }
  }
}

Was this page useful?

Questions? We're here to help

Subscribe to updates