# Connect to XTM Hub

> Connect OpenCTI to the XTM Hub to deploy its content in one click, then follow, repair or remove the connection, and know who may deploy what.

- URL: https://filigran.io/docs/lts/7.260309-lts/opencti/configure/xtm-hub/
- Products: OpenCTI 7.260309.0-lts.8
- OpenCTI line: 7.260309 LTS · 7.260309.0-lts.8
- For: administrators
- Type: How-to guide

The XTM Hub is Filigran's portal for ready-made content, free trials, the roadmap and the Academy. Connecting OpenCTI to it lets your teams deploy its content, such as dashboards, playbooks and feeds, in one click. This page shows how to connect the platform, follow and repair the connection, disconnect it, and which rights each kind of content takes. It also describes the rest of the **Filigran Experience** page, where the connection lives.

## Before you start {#before-you-start}

- To connect or disconnect, your role has the **Manage XTM Hub** capability, under **Access to admin functionalities**. The **Filigran Experience** page opens with **Manage XTM Hub** or **Access to support data**.
- You have an XTM Hub account, in the XTM Hub organization the platform should belong to.
- Both your browser and the platform reach the XTM Hub (`https://hub.filigran.io` by default). The connect button only shows when both do. The keys below are in the [XTM Suite](https://filigran.io/docs/lts/7.260309-lts/reference/opencti/configuration/#xtm-suite) section of the configuration.

| Key | Environment variable | Default | Set it when |
| --- | --- | --- | --- |
| `xtm:xtmhub_url` | `XTM__XTMHUB_URL` | `https://hub.filigran.io` | You use another XTM Hub address. An empty value removes the XTM Hub from the interface |
| `xtm:xtmhub_api_override_url` | `XTM__XTMHUB_API_OVERRIDE_URL` | empty | The platform reaches the XTM Hub at another address than the one users open in their browser, for example through an outbound proxy |

A platform in demo mode (`demo_mode`) shows no connect or disconnect button.

## How the connection works {#how-the-connection-works}

**Diagram: A connected OpenCTI instance checks its link with the XTM Hub every hour and alerts its administrators when the link is lost**

- OpenCTI: Platform (Registration token), Administrators (Manage XTM Hub)
- Filigran: XTM Hub (hub.filigran.io)

Connections:

- Platform → XTM Hub: connects
- Platform → XTM Hub: hourly check
- Platform → Administrators: lost link email

When you connect, your browser sends the XTM Hub the URL, title, identifier, edition and version of the platform, and brings back a token. Every hour, and each time you open the **Filigran Experience** page, the platform checks with the XTM Hub that its registration is still valid. If the XTM Hub no longer knows the platform, the platform resets its registration and reads as not connected.

## Connect the platform {#connect-the-platform}

*(OpenCTI before 7.260811)*

1. Open **Settings > Filigran Experience**.
2. In the **XTM Hub** card, click **Register in XTM Hub**, then **Continue**. A new browser tab opens on the XTM Hub; your OpenCTI session stays open. If you lose the tab, **Continue to register** brings it back.
3. Log in to the XTM Hub and choose the organization to register the platform in.
4. Go back to OpenCTI. A message confirms that the platform is registered, and the card gives the **Registration date** and who registered it.

## Follow the connection {#follow-the-connection}

*(OpenCTI before 7.260811)*

The **XTM Hub** card gives the **Registration status**: **Registered**, with the **Registration date** and who registered the platform (**Registered by**), or **Connectivity lost**, with the **Last successful check**. An unregistered platform shows what the XTM Hub offers and a **Discover the Hub** button.

To repair a lost connection, click **Register in XTM Hub** and go through the registration steps again.

When connectivity has been lost for 24 hours since the last successful check, OpenCTI sends one email to the users who bypass all capabilities or hold **Manage XTM Hub**. It sends another only after the connection has come back and been lost again. The email needs a working [SMTP configuration](https://filigran.io/docs/lts/7.260309-lts/opencti/administer/smtp/).

| Key | Environment variable | Default | Effect |
| --- | --- | --- | --- |
| `xtm:xtmhub_connectivity_email_enabled` | `XTM__XTMHUB_CONNECTIVITY_EMAIL_ENABLED` | `true` | `false` stops the email |
| `xtm:xtmhub_to_email` | `XTM__XTMHUB_TO_EMAIL` | `no-reply@filigran.io` | The **To** address of the email. The administrators receive it in blind copy |
| `smtp:email_max_cc_size` | `SMTP__EMAIL_MAX_CC_SIZE` | `500` | Maximum number of administrators in blind copy. Beyond it, only the first ones receive the email |

**Example: Connect a production and a staging platform**

Example CERT runs two OpenCTI instances: production at `https://opencti.example.com` and staging at `https://opencti-staging.example.com`. Both should deploy XTM Hub dashboards for testing and use, under the XTM Hub organization "Example CERT". Staging is shut down every night, so its connectivity emails would only be noise. Production emails should reach the shared mailbox of the platform team.

1. On each platform, open **Settings > Filigran Experience**, click the connect button of the **XTM Hub** card, then **Continue**.
2. In the XTM Hub tab, log in and choose the organization **Example CERT**.
3. Set the connectivity emails and restart each platform. With Docker Compose, on staging:

```yaml
services:
  opencti:
    environment:
      XTM__XTMHUB_CONNECTIVITY_EMAIL_ENABLED: "false"
```

And on production:

```yaml
services:
  opencti:
    environment:
      XTM__XTMHUB_TO_EMAIL: "cti-platform@example.com"
```

Both cards then read connected, with the date and the administrator who connected them, and both instances appear in the Example CERT organization on the XTM Hub. When staging is down for more than 24 hours, it goes to **Connectivity lost** without emailing anyone. When production loses the connection for 24 hours, the platform team's mailbox gets the email, and every administrator gets a blind copy.

## Disconnect the platform {#disconnect-the-platform}

*(OpenCTI before 7.260811)*

In the **XTM Hub** card, click **Unregister from XTM Hub**, then **Continue**, and confirm in the XTM Hub tab.

The platform can no longer deploy XTM Hub content. You can connect it again at any time. The button is missing on a platform that runs an Enterprise Edition trial license.

## Who can deploy content {#who-can-deploy-content}

A connected platform lets any user deploy XTM Hub content, but the import runs as that user: each kind of content takes the right to create it. Give these capabilities to the people who should bring content in, such as the CTI team lead for dashboards and playbooks.

*(OpenCTI before 7.260811)*

| Content | Capability |
| --- | --- |
| Custom dashboards | **Create / Update dashboards** |
| CSV and TAXII feeds, OpenCTI-to-OpenCTI synchronizers, connectors | **Manage ingestion** |

What each kind of content becomes, and what to check before using it, is in the [XTM Hub content library](https://filigran.io/docs/lts/7.260309-lts/opencti/configure/xtm-hub/content-library/).

## The rest of the Filigran Experience page {#the-rest-of-the-filigran-experience-page}

Next to the **XTM Hub** card, the page holds two more parts.

**The Enterprise Edition card.** Its chip reads **Community edition**, **Activated** or **Expired**. On a Community platform, it lists what the Enterprise Edition adds; with **Manage parameters**, its button starts the Enterprise Edition (see [Editions and licensing](https://filigran.io/docs/lts/7.260309-lts/start/editions/)). Once the Enterprise Edition is on, the card gives the license, as the [platform summary](https://filigran.io/docs/lts/7.260309-lts/opencti/configure/parameters/#read-the-platform-summary) page does, and, with **Manage parameters**, **Disable Enterprise Edition**, unless the license comes from the configuration. With **Manage parameters**, the card also turns the AI features of the platform on or off:

- **Agentic AI (Ariane Assistant)**, marked **Preview**: the assistant users open from the top bar. The first time, click **Validate the Filigran AI Terms**, read them with **Read the Filigran AI Terms**, check the box, then click **I Agree to Filigran AI Terms**. **Decline** keeps the assistant off. Afterwards, a switch turns it on or off.
- **Generative AI (AI Insight, NLQ)**: the AI features built into the screens, such as the summaries of an entity and search in natural language. They use the AI provider set in the [AI configuration](https://filigran.io/docs/lts/7.260309-lts/reference/opencti/configuration/#ai-service).

**Support packages.** With **Access to support data**, the bottom of the page lists the [support packages](https://filigran.io/docs/lts/7.260309-lts/deploy/operate/support-package/) and has **Generate Support Package**.

## What's next {#what-s-next}

- [XTM Hub content library](https://filigran.io/docs/lts/7.260309-lts/opencti/configure/xtm-hub/content-library/) for what you can deploy.
- [Follow what XTM Hub publishes](https://filigran.io/docs/lts/7.260309-lts/opencti/configure/xtm-hub/news-feed/) to follow new content.
- [Reuse content from XTM Hub](https://filigran.io/docs/lts/7.260309-lts/workflows/reuse-from-hub/), the end-to-end workflow.
