Docs
  • Guides
  • APIs (opens in a new tab)
  • Products
    Elasticsearch Observability Security Elastic Cloud
  • Reference
  • Troubleshoot
  • Release notes
  1. Docs /
  2. Reference /
  3. Ingestion tools /
  4. APM /
  5. APM agents /
  6. APM RUM JavaScript agent

Set up the APM Real User Monitoring JavaScript Agent

To start reporting your web page performance to Elastic APM, you must first enable the RUM endpoint in your apm-server configuration.

Once the APM Server endpoint has been configured, you can:

  • Install the Agent
  • Configure CORS
Previous
APM RUM JavaScript agent
Next
Install the Agent
  • View as Markdown
  • Report a docs issue
  • Edit this page
  • Learn how to contribute
Get started free
  • 14-day free trial
  • All features included
  • No setup required
Section
Reference
Docs Guides APIs (opens in a new tab)
Products
Elasticsearch Observability Security Elastic Cloud
Reference Troubleshoot Release notes
Version
Reference Ingestion tools APM APM agents
  • APM RUM JavaScript agent
    • Set up the APM Real User Monitoring JavaScript Agent
      • Install the Agent
      • Configure CORS
    • Supported technologies
    • Configuration
    • API reference
      • Agent API
      • Transaction API
      • Span API
    • Source maps
    • Framework-specific integrations
      • React integration
      • Angular integration
      • Vue integration
    • Distributed tracing
    • Breakdown metrics
    • OpenTracing
    • Advanced topics
      • How to interpret long task spans in the UI
      • Using with TypeScript
      • Custom page load transaction names
      • Custom Transactions
    • Performance tuning
    • Upgrading
    • Troubleshooting
Elastic logo
  • Trademarks
  • Terms of Use
  • Privacy
  • Sitemap

© 2026 Elasticsearch B.V. All Rights Reserved.

This content is available in different formats for convenience only. All original licensing terms apply.

Elasticsearch is a trademark of Elasticsearch B.V., registered in the U.S. and in other countries. Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.