Star us on GitHub
Star
Welcome to highlight.io
Company
Mission & Values
Compliance & Security
Open Source
Getting Started
Overview
Fullstack Mapping
Backend / Server
Frontend / Client
Fullstack Frameworks
Product Features
Session Replay
Error Monitoring
General Features
Logging
Integrations
Integrations Overview
Amplitude Integration
ClickUp Integration
Discord Integration
Electron Support
Front Integration
Height Integration
Intercom Integration
Linear Integration
Mixpanel Integration
Segment Integration
Slack Integration
Vercel Integration
Tips
Content-Security-Policy
Local Development
Monkey Patches
Performance Impact
Proxying Highlight
Session Search Deep Linking
Troubleshooting
Upgrading Highlight
Highlight.io Changelog
Changelog 12 (02/17)
Menu
Docs / Highlight Docs / Getting Started / Frontend / Client / Frontend Quickstart / Overview

Frontend Quickstart / Overview

For a more comprehensive tour of our client sdk, visit our client reference page.

Frameworks

Get started with one of these guides if you're using a listed framework:

  • React.js

  • Next.js

  • Vue.js

  • Gatsby.js

  • HTML

  • SvelteKit

  • Angular

  • Installing the SDK

    Install highlight.run using your package manager.

    # with npm npm install highlight.run # with yarn yarn add highlight.run
    Copy
    Initialize

    Initialize Highlight where your application starts.

    import { H } from 'highlight.run' H.init( '<YOUR_PROJECT_ID>', // Get this from https://app.highlight.run/setup )
    Copy
    Example
    import React from 'react' import { H } from 'highlight.run' H.init('<YOUR_ORGANZATION_ID>') // Get this from https://app.hgihlight.run/setup ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root'), )
    Copy
    Verify

    Start your app, go to it in the browser, then click around. Highlight will be recording your session and it will show up on app.highlight.io/sessions a few seconds after recording has started.

    Next Steps

    After installing Highlight for your frontend application, there are a few other things you should check out about our Session Replay product, namely:

  • Privacy Controls

  • Network Request Recording

  • Backend Setup Guides