---
title: Browser Monitoring Setup
description: Understand your options for setting up the RUM Browser SDK.
breadcrumbs: >-
  Docs > RUM & Session Replay > Application Monitoring > RUM Browser Monitoring
  > Browser Monitoring Setup
---

# Browser Monitoring Setup

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com



{% alert level="danger" %}
RUM Auto-Instrumentation is not available for the selected site (). Use [Client-Side instrumentation](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/browser/setup/client) instead.
{% /alert %}


{% /callout %}

## Setup{% #setup %}

- [Auto-Instrumentation: Inject a RUM SDK JavaScript scriptlet into the HTML responses of your web applications being served through a web server or proxy.](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/browser/setup/server)
- [Agentic Onboarding: Instrument your frontend applications with one prompt using LLM coding agents like Cursor or Claude.](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/agentic_onboarding)
- [Client-Side: Instrument your browser-based web applications, deploy them, configure the initialization parameters you want to track, and use advanced configuration to further manage the data and context that RUM collects.](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/browser/setup/client)

## How to choose the instrumentation type{% #how-to-choose-the-instrumentation-type %}

| Automatic Instrumentation                                                                                                     | Manual Instrumentation                                                                                                                                                                                                        |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Auto-Instrumentation (Preview)](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/browser/setup/server) | [Agentic Onboarding (Preview)](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/agentic_onboarding/?tab=realusermonitoring)                                                                             | [Client-Side](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/browser/setup/client)                                                                                                                    |
| SDK setup mechanism                                                                                                           | Automatically add RUM JS to your web app HTML, then manage configurations in the UI.                                                                                                                                          | Use an AI-guided setup that detects your project's framework and adds the RUM SDK with a single prompt.                                                                                                                       | Manually add the RUM SDK to your application code and manage configurations in code.                                                                                                                                                                                                                                                                                                                     |
| Code changes required                                                                                                         | No                                                                                                                                                                                                                            | Yes (automated by AI agent)                                                                                                                                                                                                   | Yes                                                                                                                                                                                                                                                                                                                                                                                                      |
| Setup complexity                                                                                                              | Low                                                                                                                                                                                                                           | Low                                                                                                                                                                                                                           | Medium                                                                                                                                                                                                                                                                                                                                                                                                   |
| Supported platforms                                                                                                           | Apache, IBM HTTP Server, Java Servlet, Nginx, Windows IIS                                                                                                                                                                     | Next.js, React, Svelte, Vue, Vanilla JavaScript                                                                                                                                                                               | All browser-based applications                                                                                                                                                                                                                                                                                                                                                                           |
| User groups                                                                                                                   | Ideal for **SRE and engineering teams** without access to frontend code or who need centralized management:Enable RUM across many apps without code changesMonitor organization-wide frontend performance from a single place | Ideal for **teams using AI coding agents** (such as Cursor or Claude Code):Accelerate RUM setup with AI-guided instrumentationAutomate framework detection and SDK configurationReduce time-to-observability for new projects | Ideal for **frontend engineering, mobile engineering, or product teams** who work directly in application code:Support daily engineering workflows (such as live support, troubleshooting, and health checks for downstream services)Power product workflows (such as user flow analysis, segmentation, and feature tracking)Use custom code to track behavior not captured by automatic instrumentation |

## Further reading{% #further-reading %}

- [RUM Browser Monitoring](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/browser/)
