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.
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.
- docker compose up → rsa-key-generator: starts
- docker compose up → xtm-composer: starts
- rsa-key-generator → xtm-composer: RSA key
- xtm-composer → OpenCTI: Manager registered
- xtm-composer → OpenAEV: Manager registered
- xtm-composer → Integration container: creates on 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-dockerfolder.
Step 1: Check that XTM Composer is in the stack
-
List the services of XTM Composer in the stack.
docker compose config --services | grep -E '^(xtm-composer|rsa-key-generator)$'Check that it workedIt lists
rsa-key-generatorandxtm-composer. If it does not, your copy of xtm-docker is older: get the current one withgit pull, then run the command again.
Step 2: Start XTM Composer
-
Download the current images, then start what is not running yet.
docker compose pull docker compose up -drsa-key-generatorcreates a 4096-bit key in thersakeysvolume the first time, then XTM Composer starts once OpenCTI, OpenAEV and RabbitMQ are healthy. -
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 workedOne line says
Successfully loaded RSA private key (PKCS#8 format), and oneManager registeredline 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: , Available tab ( before 7.260811) in OpenCTI, Integrations > Catalog in OpenAEV.
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
-
In the catalog, click Deploy on an integration whose settings you have, for example one that needs no API key.
-
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.
-
Click Start.
Check that it workedOn the host, XTM Composer has created a container for the instance, named after the instance name in lower case, with the label
xtm-managerit 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 containeropencti-manageronly. 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.