---
schema_version: "1"
id: 39eb6120fbf5d946fab5ff4258a5d53140446a430460d99cca7b0711897a63f8
title: CloudHub Setup in API Visualizer
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/visualizer/cloudhub-setup.md
canonical_url: https://docs.mulesoft.com/visualizer/cloudhub-setup
source_site: docs.mulesoft.com
content_type: documentation
content_hash: e8d2fa8866e7234515a0e1298ece9f74eb5b42971830c5f6ee8098917d03e09b
description: MuleSoft Documentation Site
latest: true
---
---
product: API Visualizer
---

# CloudHub Setup in API Visualizer

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

API Visualizer only includes activity from applications deployed to a supported version of Mule
runtime engine (Mule). When deploying a Mule app or API, make sure that you are using a supported
version of Mule as the deployment target.

> [!NOTE] If your version of Mule was released before June 30th 2018, to ensure you have the correct
> API Visualizer agent, upgrade your version of Mule to any of the supported versions listed in this
> section. You can do this update with zero downtime for CloudHub applications, APIs, and proxies.
> These versions are listed in Runtime Manager > Runtime Version. Expand the Show old patch releases
> section in the runtime versions drop-down.

## Verify Supported Mule Runtime Engine (Mule) Versions for Metrics

The metrics that API Visualizer displays come from Anypoint Monitoring. As a result, metrics are
shown in API Visualizer only for applications running on Mule versions that are also supported for
Anypoint Monitoring.

To see your app, its connections, and the related metrics in API Visualizer, enable the Anypoint
Monitoring agent after you upgrade.

> [!NOTE] If you currently have Anypoint Monitoring enabled for applications running on 4.x-AM,
> app-level monitoring continues to work for those apps. However, metrics at the connection level do
> not appear. Update your applications to run on non-AM Mule versions for better functionality and
> the latest patch updates as soon as they are available.

## Enable the Monitoring Agent

For your app to appear in API Visualizer and for metrics to be displayed, manually enable the
Anypoint Monitoring agent for the following Mule versions:

- Mule Version 4.1 patch releases available after March 22, 2019

- Mule Version 4.2

To enable the Anypoint Monitoring agent:

1.  Log in to Anypoint Platform using an account that has the Anypoint Monitoring User permission.

2.  In the navigation bar or the main Anypoint Platform screen, click **Monitoring**.

3.  In the Anypoint Monitoring navigation menu, click **Settings**.

4.  Select **CloudHub**.

5.  From the **Environment** drop-down list, choose an environment.

6.  In **List of resources in <Environment Name>**, search for an app to visualize.

7.  Next to the app, click **Enable & Apply** to enable visualization and monitoring for the app.

For more information about Anypoint Monitoring, see
[Enable Monitoring Using the UI](https://docs.mulesoft.com/monitoring/configure-monitoring-cloudhub).

## Verify Supported Mule Versions for Policies

The APIs and policies that API Visualizer displays in the Policy visualization come from an update
to the agent in Mule runtime engine (Mule). As a result, API Visualizer shows policies only for apps
running on supported Mule versions released on December 12, 2019 or later.

## Manage Performance and Data Collection

The agent that API Visualizer uses to collect metadata sometimes has a performance impact.

For more information about data collection and performance, see
[Manage Performance and Data Collection](https://docs.mulesoft.com/visualizer/manage-performance).
