---
schema_version: "1"
id: 496c9b3a26e08351f126a93d3a4df025d3d31f71b75e893d524f309820b38daa
title: Standalone Mule Setup
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/visualizer/standalone-mule-setup.md
canonical_url: https://docs.mulesoft.com/visualizer/standalone-mule-setup
source_site: docs.mulesoft.com
content_type: documentation
content_hash: c5d7d704f8b18d73ce46ba9d9e45d53b390a3b5fe5663610ff12f6ace2551ec3
description: MuleSoft Documentation Site
latest: true
---
---
product: API Visualizer
---

# Standalone Mule Setup

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

Set up API Visualizer for standalone Mule by installing the Anypoint Monitoring agent, ensuring
supported Mule versions, and enabling header injection so connections render correctly. Configure
server properties as required, use the correct HTTP Connector version, and review performance
guidance for data collection to balance visibility and overhead.

## Install Agent

To support API Visualizer for standalone Mule deployments, install the
[Anypoint Monitoring agent](https://docs.mulesoft.com/monitoring/am-installing).

> [!NOTE] The APIs and policies that API Visualizer displays in the Policy visualization come from
> an update to the agent. As a result, policies are shown in API Visualizer only if your deployments
> use an agent from December 19, 2019 or later.

## Enable Header Injection

API Visualizer requires header injection for standalone Mule deployments so that the deployments
display the correct connections. However, due to a potential performance impact, header injection is
disabled by default for Mule version 4.x with Anypoint Monitoring Agent released before April
6, 2020. Enable header injection at the server (not app) level. This affects all applications
running on the server.

1.  To enable header injection for apps deployed to a standalone Mule instance, click **Server** in
    the menu on the left of **Runtime Manager**.

2.  Select the server for which to enable header injection and click **Manage Server**.

3.  Click the Properties tab and set the following property in the server:
    `anypoint.platform.config.analytics.agent.header_injection.disabled=false` Set the property to
    `false`, as shown in the example to enable header injection, because the property is disabled by
    default.

Additionally, use version 1.5.12 or later of the HTTP Connector in your Mule 4 applications.

### 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
[Managing Performance and Data Collection](https://docs.mulesoft.com/visualizer/manage-performance).
