> ## Documentation Index
> Fetch the complete documentation index at: https://docs.insecureweb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integration guide for MacOS

> The macOS agent collects system and application logs, monitors activity, and communicates securely with the UTMStack master server or proxy. It also enables incident response actions.

<Note>
  This feature is part of a **paid subscription**. Please contact our support team to obtain the required installation dependencies.
</Note>

## Installation Steps

### 1. Configure your device to send logs to a UTMStack agent on ports:

* 9000
* 9001
* 50051

### 2. Contact Support.

<Note>
  Reach out to UTMStack support to request the **macOS installation dependencies**. These files are necessary to perform installation or uninstallation of the agent.
</Note>

### 3. Run the Corresponding Command

<Tip>
  Depending on whether you want to **install** or **uninstall** the agent, use the appropriate command provided in your UTMStack instance:
</Tip>

<Warning>
  These commands must be copied **directly from your UTMStack instance**, under the **Integrations** section, to ensure the correct configuration.
</Warning>

```bash theme={null}
# Example (replace with actual command from instance)
sudo ./utmstack-macos-installer install
# or
sudo ./utmstack-macos-installer uninstall
```

#### Example:

<img height="200" className="block rounded-xl" src="https://mintcdn.com/insecurewebllc/lfYYvC-pPoHEyH8F/images/integrations/macos/step1.png?fit=max&auto=format&n=lfYYvC-pPoHEyH8F&q=85&s=ebc2b7e1efccd76990a72fae6319b447" alt="MacOS" data-path="images/integrations/macos/step1.png" />

<img height="200" className="block rounded-xl" src="https://mintcdn.com/insecurewebllc/lfYYvC-pPoHEyH8F/images/integrations/macos/step2.png?fit=max&auto=format&n=lfYYvC-pPoHEyH8F&q=85&s=8101076ffcbe3310a21a4b47336a906d" alt="MacOS" data-path="images/integrations/macos/step2.png" />
