> For the complete documentation index, see [llms.txt](https://tailwindsdocs.innovativesol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailwindsdocs.innovativesol.com/readme/analytic.md).

# Analytics

Learn how to analyze and troubleshoot your chatflows and agentflows

***

There are several analytic providers to integrates with:

* [Langsmith](https://smith.langchain.com/)
* [Langfuse](https://langfuse.com/)
* [LunaryAI](https://lunary.ai/)
* [LangWatch](https://langwatch.ai/)

## Setup

1. At the top right corner of your Chatflow or Agentflow, click **Settings** > **Configuration**

<figure><img src="https://662370747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3VoWwSsyrEg0DEvIIjv9%2Fuploads%2Fgit-blob-c4693d4dc7a34d3203ee60dc442eaeacb6798b22%2Fanalytic-1.webp?alt=media" alt="Screenshot of user clicking in the configuration menu" width="375"><figcaption></figcaption></figure>

2. Then go to the Analyse Chatflow section

<figure><img src="https://662370747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3VoWwSsyrEg0DEvIIjv9%2Fuploads%2Fgit-blob-c564e9f8d4228022e6eaef7491e7e277db90ef8b%2Fanalytic-2.png?alt=media" alt="Screenshot of the Analyse Chatflow section with the different Analytics providers"><figcaption></figcaption></figure>

3. You will see a list of providers, along with their configuration fields

{% hint style="info" %}
Tailwinds Monitoring leverages LangFuse
{% endhint %}

<figure><img src="https://662370747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3VoWwSsyrEg0DEvIIjv9%2Fuploads%2FzCETB9KA6ZwjotmHmfTT%2Fimage.png?alt=media&amp;token=8a7a41a4-1573-48d6-bc5e-b19ff7132e95" alt=""><figcaption></figcaption></figure>

3. Fill in the credentials and other configuration details, then turn the provider **ON**

<figure><img src="https://662370747-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3VoWwSsyrEg0DEvIIjv9%2Fuploads%2Fgit-blob-bbb0da47679b34192545931719c0f97cdf21c9a7%2Fimage%20(83).png?alt=media" alt="Screenshot of analytics providers enabled"><figcaption></figcaption></figure>

## API

Once the analytic has been turned ON from the UI, you can override or provide additional configuration in the body of the [Prediction API](/readme/api.md#prediction-api):

```json
{
    "question": "hi there",
    "overrideConfig": {
        "analytics": {
            "langFuse": { // langSmith, langFuse, lunary, langWatch
                "userId": "user1"
            }
        }
    }
}
```
