> For the complete documentation index, see [llms.txt](https://docs.informationhub.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.informationhub.io/project/analytics.md).

# Analytics

Analytics connects your project to a **Metabase** workspace - a business-intelligence tool for exploring data, building questions, and designing rich dashboards. From the Analytics page you open your project's Metabase workspace with a single click (no separate login), generate shareable links for the dashboards you build there, set up alerts that notify people when something in your data changes, and request access to another project's data so you can query it alongside your own.

Analytics is an **optional module**. It only appears once a project admin turns it on.

## Before you start

Analytics is off by default. A project **admin** enables it from the project settings page:

1. Open **Settings** from the project sidebar.
2. Find the **Analytics** section and turn on **Enable analytics (Metabase) for this project**.

Once enabled, an **Analytics** item (bar-chart icon) appears in the project sidebar, and an **Analytics** button appears on the project overview page. Both are visible to project members who have permission to view the project overview.

{% hint style="info" %}
If you cannot see the Analytics module, it either has not been enabled for the project or your role does not include access. Ask your project admin to check.
{% endhint %}

{% hint style="info" %}
Analytics is different from the built-in [Dashboards](/project/dashboards.md) module. Dashboards are quick, built-in charts and maps configured inside Information Hub. Analytics opens a full Metabase workspace for deeper analysis - custom questions, SQL, and alerts. Many projects use both.
{% endhint %}

## What you can do with Analytics

* **Open your project's Metabase workspace** to build questions and dashboards.
* **Generate public links** for the dashboards you create in Metabase.
* **Create notification hooks (alerts)** that watch a Metabase question and notify people by email or push.
* **Share data between projects** so you can query another project's tables alongside your own.

***

## Open your project's workspace

The top of the Analytics page shows the **Metabase Analytics** card.

* Click **Open in Metabase** to open your project's workspace in a new browser tab. You are signed in automatically using your Information Hub account - there is no separate Metabase password to remember.
* Building questions, charts, and dashboards all happens **inside Metabase**. The Analytics page in Information Hub is where you open that workspace and manage the links, alerts, and data sharing around it.

{% hint style="info" %}
The first time you use Analytics, open Metabase and create at least one dashboard before generating links - otherwise there is nothing to link to yet.
{% endhint %}

***

## Dashboard links

To turn the dashboards you built in Metabase into shareable links:

1. On the **Metabase Analytics** card, click **Generate Links**.
2. A **Dashboard Links** card appears listing every dashboard in your project's Metabase collection.
3. For each dashboard you get a **Public link** (opens in a new tab) and a **copy** button to copy the link to your clipboard.

Anyone with a public link can view that dashboard without logging in. If no dashboards are found, the card reminds you to open Metabase and create one first, then generate links again.

***

## Data connections

Data connections let your project **read another project's data** inside Metabase, so you can build questions that combine data from more than one project. Access is one-directional and must be approved by an admin of the project that owns the data.

The **Data Connections** card lists your project's connections. Each row shows the other project's name and ID, the direction of the connection, and a status badge:

| Status              | Meaning                                               |
| ------------------- | ----------------------------------------------------- |
| **Active** (green)  | The connection is approved and the data is available. |
| **Pending** (amber) | A request is waiting for approval.                    |
| **Revoked** (red)   | The connection has been removed.                      |

An **Action needed** badge appears on rows where another project is requesting access to *your* data.

### Request access to another project's data

1. In the **Data Connections** card, enter the **Source project ID** - the ID of the project whose data you want to read.
2. Click **Request Access**.
3. The request appears in your list as **Pending** until an admin of that project approves it.

### Manage a connection

Click any connection row to open the **Data Connection** details. Depending on your side of the connection and its status, the available actions are:

* **Accept** - approve an incoming request for your project's data.
* **Reject** - decline an incoming request.
* **Cancel Request** - withdraw a pending request you sent.
* **Remove Connection** - end an active connection (either side can do this).
* **Delete from list** - remove a revoked connection from the list.

{% hint style="info" %}
Once a connection is **Active**, the shared tables appear in Metabase's database browser under a schema named after the source project's ID. The details panel shows you the exact schema name, with a copy button, so you can find the data when building a question.
{% endhint %}

Granting or syncing a connection can take a moment - a progress bar shows while it is being set up.

***

## In this section

{% content-ref url="/pages/9dbP2yvrom8ZOaiawMEo" %}
[Notification Hooks](/project/analytics/notification-hooks.md)
{% endcontent-ref %}
