Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/monitor-applications/frontend-observability/quickstart.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/monitor-applications/frontend-observability/quickstart/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Frontend Observability quickstart
Get telemetry data flowing from your frontend application to Grafana Cloud in less than 5 minutes.
Before you begin
- A Grafana Cloud account (sign up for free)
- A frontend web application (JavaScript, React, Next.js, or any framework)
Create a Frontend Observability app
- In Grafana Cloud, navigate to Frontend > Frontend Apps.
- Click Create new.
- Enter:
- App Name: Your application name
- CORS Allowed Origin: Your domain (use
localhostfor local development)
- Click Create.
Instrument your application
Copy the instrumentation snippet and paste it in the <head> section of your HTML:
<script>
// Snippet provided in the Grafana Cloud UI
</script>Tip
The snippet is pre-configured with your app key and endpoint. No additional configuration needed.
View your data
- Load your application in a browser.
- Navigate through a few pages or trigger some interactions.
- Return to Frontend Apps in Grafana Cloud.
- Select your app to see real-time performance data, errors, and user sessions.
Next steps
- Set up framework-specific instrumentation for React, Next.js, or vanilla JavaScript
- Explore performance data to understand Web Vitals and page load times
- Track errors with stack traces and source maps
- Instrument custom events for deeper insights
Was this page helpful?
Related resources from Grafana Labs


