You are reading the documentation of OpenCTI 7.260309 LTS · 7.260309.0-lts.8, supported until 2027-04.Latest is 7.261119.0 →
Tutorial

Deploy a first integration with XTM Composer

Check that XTM Composer runs in the XTM stack and that OpenCTI and OpenAEV see it, then deploy a first integration from the interface.

OpenCTIOpenAEVXTM ComposerEnterprise EditionFor platform engineers and evaluators

This tutorial checks XTM Composer in a running XTM stack and deploys a first integration with it, in about ten minutes. At the end, OpenCTI and OpenAEV see XTM Composer, and you have deployed a first integration from the interface of a platform, which XTM Composer runs as a container.

XTM-DOCKERKEYXTM COMPOSERPLATFORMSDOCKERdocker compose upmodules/xtm-composer.ymlrsa-key-generator4096-bit key in rsakeysxtm-composerStarts once the platforms are healthyOpenCTICatalog: Deploy, Create, StartOpenAEVCatalog: Deploy, Create, StartIntegration containerLabel xtm-manager
  1. docker compose up → rsa-key-generator: starts
  2. docker compose up → xtm-composer: starts
  3. rsa-key-generator → xtm-composer: RSA key
  4. xtm-composer → OpenCTI: Manager registered
  5. xtm-composer → OpenAEV: Manager registered
  6. xtm-composer → Integration container: creates on Start
The XTM stack starts rsa-key-generator and XTM Composer, which registers with both platforms and runs as a container every integration you start

It uses FiligranHQ/xtm-docker, where XTM Composer is part of the stack: it starts with the rest, generates its own RSA key and serves both OpenCTI and OpenAEV. To run XTM Composer outside xtm-docker, see Install XTM Composer.

What you need

  • The XTM stack running from xtm-docker. If you do not have it yet, follow Run the XTM platform locally: it starts XTM Composer with the rest of the stack.
  • An Enterprise Edition license for each platform you deploy integrations on.
  • A terminal in the xtm-docker folder.

Step 1: Check that XTM Composer is in the stack

  1. List the services of XTM Composer in the stack.

    docker compose config --services | grep -E '^(xtm-composer|rsa-key-generator)$'
    
    Check that it worked

    It lists rsa-key-generator and xtm-composer. If it does not, your copy of xtm-docker is older: get the current one with git pull, then run the command again.

Step 2: Start XTM Composer

  1. Download the current images, then start what is not running yet.

    docker compose pull
    docker compose up -d
    

    rsa-key-generator creates a 4096-bit key in the rsakeys volume the first time, then XTM Composer starts once OpenCTI, OpenAEV and RabbitMQ are healthy.

  2. Check that XTM Composer loaded its key and registered with both platforms.

    docker compose logs xtm-composer | grep -E 'Successfully loaded RSA private key|Manager registered'
    
    Check that it worked

    One line says Successfully loaded RSA private key (PKCS#8 format), and one Manager registered line appears for each platform, OpenCTI and OpenAEV. Registration is retried every minute: if a line is missing, wait a minute and run the command again, then see Troubleshoot XTM Composer.

Step 3: Check the platforms see it

Sign in to each platform and open its catalog: Integrations, Available tab (Data, then Ingestion, then Connector catalog before 7.260811) in OpenCTI, Integrations > Catalog in OpenAEV.

Check that it worked

The catalog no longer says that deploying requires the installation of the Integration Manager. If it says that deployment requires an Enterprise Edition license, enter your license first.

Step 4: Deploy a first integration

  1. In the catalog, click Deploy on an integration whose settings you have, for example one that needs no API key.

  2. Fill the form and click Create. The instance opens, stopped.

    • In OpenCTI: a Display name, from which OpenCTI derives the Instance name, and the account the connector writes as, with Automatically create a service account or an existing Service account responsible for data creation.
    • In OpenAEV: a unique Instance name.
  3. Click Start.

    Check that it worked

    On the host, XTM Composer has created a container for the instance, named after the instance name in lower case, with the label xtm-manager it puts on every container it manages:

    docker ps --filter label=xtm-manager --format '{{.Names}} {{.Status}}'
    

    The instance is Up, and its Logs tab in the platform fills within a few seconds. XTM Composer 3.261021.1 and earlier label the container opencti-manager only. If no container appears and the Logs tab says that the image cannot be pulled, see The image cannot be pulled.

What you learned

  • XTM Composer runs the integrations you deploy from the interface of OpenCTI and OpenAEV.
  • XTM Composer architecture: it registers with a public key, then reconciles every few seconds what the platform asks with what runs.
  • Configure XTM Composer lists the settings you can change, such as the network its integrations join.
NextHow integrations run
Deploy
Install, configure, secure, scale and upgrade the platform.

Published

Overview
Run the XTM platform locally
OverviewDeploy with an AI agent