> For the complete documentation index, see [llms.txt](https://docs.borndigital.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.borndigital.ai/realtime-agent/analytics-with-insights.md).

# Analytics with Insights

Send the calls of a realtime agent to an Insights project for automatic analysis.

A realtime agent can send every call to an [Insights](https://docs.borndigital.ai/insights/introduction.md) project. Insights then analyses the calls with your parameters and prompts and shows the results in dashboards – for example the topic of the call, whether the caller's problem was solved, or the caller's sentiment.

## Before you start

Prepare an **Audio** Insights project with the parameters and prompts you want to evaluate – see [Analysis project](https://docs.borndigital.ai/insights/building-new-projects/analysis-project.md). You need to be the **Owner** or **Editor** of the realtime project to connect it.

## Connect the agent

1. In the realtime project, click **Analytics** in the navigation bar at the bottom of the editor.
2. Under **Connect to Insights**, choose the Insights **Project**. Only **Audio** projects are offered.
3. Choose what to **Analyse**:
   * **Audio** (default) – Insights analyses the recording of the call. More precise, but more expensive.
   * **Transcript** – Insights analyses the transcript of the call. Faster and cheaper.
4. Click **Connect**.
5. Click **Go live** in the editor. **The connection takes effect only with the next deployment.**

<figure><img src="https://4261467870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6iQTvxgRZRwPS1NgIGEb%2Fuploads%2Fgit-blob-b3b2080078a7b85277a7c63a5ac80306c4f2ce5a%2Frealtime-analytics.png?alt=media" alt="The Connect to Insights card with the Project list, Analyse set to Audio or Transcript, and the Connect button"><figcaption><p>Connecting the agent to Insights</p></figcaption></figure>

A realtime agent can be connected to one Insights project. **Open project** and **Dashboard** lead to the connected project and its results.

To stop sending calls, click **Disconnect**, confirm, and go live again.

## What happens after a call

When a call ends, the platform waits for the recording (up to five minutes) and sends it, together with the transcript, to Insights. If the recording is not available, only the transcript is sent. The call then appears in the Insights project and is processed like any other data – see [Process](https://docs.borndigital.ai/insights/workspace/process.md) and [Dashboards](https://docs.borndigital.ai/insights/workspace/analyse/dashboards.md).
