Cortex connects to many third-party vendors whose system interfaces frequently change. As a result, integration behavior or configuration steps may shift without notice. If you encounter unexpected issues, check with your system administrator or refer to the vendor’s documentation for the most current information. Additionally, integration sync times vary and are subject to scheduling overrides and timing variance.
- Send information about ArgoCD syncs into Cortex
- This data appears on entity detail pages.
- Use Cortex Workflows to automate ArgoCD syncs
- See deploy data for ArgoCD in Eng Intelligence
How to configure ArgoCD with Cortex
Step 1: Use ArgoCD notification webhooks
To send Cortex information about syncs in ArgoCD, use ArgoCD notification Webhooks to call the Cortex deploy REST endpoint.Example config map
Here is an example of what aargocd-notifications-cm config map may look like:
x-cortex-tag. In this case, each application in ArgoCD can subscribe to the same trigger.
If your application name doesn’t match the x-cortex-tag, add a value/pair to the info section of the Application manifest. Then, instead of using .app.metadata.name in the url path, use {{(index .app.spec.info 0).value}}.
Step 2: Subscribe application to webhooks
Next, subscribe your application to the webhook. You do this by adding a label annotation in the Application spec in the following format:Using the ArgoCD integration
View ArgoCD data on entity pages
After you configure the integration, you will see data about ArgoCD syncs in an entity’s details page:-
On the entity overview, ArgoCD syncs will appear under the Latest events section.

- In the entity’s sidebar, click Events to see a full list of events for the entity, including sync events from ArgoCD.
-
In the entity’s sidebar, click CI/CD > Deploys to see data from the Cortex deploys API, including ArgoCD syncs.

Automate ArgoCD events in Workflows
You can use a Workflow to automate ArgoCD syncs. See the ArgoCD Workflow guide for more information.See ArgoCD data in Eng Intelligence
Since the ArgoCD integration uses Cortex’s deploys API endpoint, ArgoCD data is included in Eng Intelligence deploy metrics. Learn more about Eng Intelligence in the docs.Troubleshooting and FAQ
What permissions does my API Key need?
The API key needs to be able to call the “Add deployment for entity” API endpoint, so ensure theEdit entities permission is enabled.
Ensure the Cortex API Key is encoded correctly
Make sure the encoded Cortex API Key does not contain an extra line. Use a tool like https://www.base64encode.org/ to ensure your encoded key does not contain an extra line.Check the ArgoCD logs
The notification webhook is managed by theargocd-notifications-controller which will have a pod running in your ArgoCD namespace.
Assuming the ArgoCD is running in the argocd namepsace, run the following command to get the list of pods:
kubectl get pods -n argocd
This will return a list of pods similar to the ones listed below:
argocd-notifications-controller-6cd988b564-sql55. To get the logs, run the following command:
kubectl logs argocd-notifications-controller-6cd988b564-sql55 -n argocd
If your trigger was successful, you should seem something similar to this:
Still need help?↗
The following options are available to get assistance from the Cortex Customer Engineering team:- Email: help@cortex.io, or open a support ticket in the in app Resource Center
- Slack: Users with a connected Slack channel will have a workflow added to their account. From here, you can either @CortexTechnicalSupport or add a
:ticket:reaction to a question in Slack, and the team will respond directly.