Internally hosted integrations
Last updated
Last updated
You can use to source data from an internally-hosted system and reflect that data in Cortex. Cortex Axon is a framework that can be used to build jobs that run in your environment and securely send data to Cortex.
Use Axon Relay to allow Cortex to access internally-hosted integrations including , , , , , and .
Axon is composed of an agent which runs in a Docker container () and integrates with Kubernetes, creating a secure tunnel between the broker and Cortex.
Before getting started:
Create an in Cortex.
Create authentication credentials for the integration you're configuring.
In Cortex, navigate to Settings, then click the integration you are configuring.
On the integration's settings page, click Add configuration.
For the configuration type, select Relay.
Enter an alias for the configuration and configure any other necessary fields. At the bottom, click Save.
Locally on your machine, create a file called .env
. Inside the file, add contents for the integration you are configuring:
For example, for GitLab you would add:
Locally on your machine, create a file called docker-compose.yml
. Inside the file, add contents for the integration you are configuring:
In a production environment, you will use a Helm chart, provided by Cortex.
In your CLI, run the command docker compose up
.
You should see the agent start and connect to Cortex.
Verify that your agent is working:
In Cortex, go to Settings then click the integration to view its settings page.
Next to the Relay configuration you set up in the previous steps, click the play icon to test the integration.
If you watch the logging output in your CLI, you should see the agent receive the request and forward it to your internal service/
The page in Cortex should display a success message.
See the .