Aannot8

Quickstart

Get started with Annot8 in under 5 minutes

Quickstart Guide

Get Annot8 running on your website in just a few minutes.

Prerequisites

  • An Annot8 account (Sign up free)
  • Access to your website's HTML

Step 1: Create a Project

  1. Log in to your Annot8 dashboard
  2. Click New Project
  3. Enter your project name (e.g., "My Website")
  4. Add your domain(s) - use localhost for local development

You can add multiple domains per project, including wildcards like *.vercel.app

Step 2: Install the Widget

Copy the script tag from your project settings and add it to your website:

Add before </body>
<script 
  src="https://cdn.annot8.app/widget.js" 
  data-project-id="pj_xxxxxxxxxxxx"
  async
></script>

Framework-specific Installation

Next.js

app/layout.tsx
import Script from 'next/script'

export default function RootLayout({ children }) {
  return (
    <html>
      <body>
        {children}
        <Script 
          src="https://cdn.annot8.app/widget.js"
          data-project-id="pj_xxxxxxxxxxxx"
          strategy="lazyOnload"
        />
      </body>
    </html>
  )
}

React

src/App.tsx
import { useEffect } from 'react'

function App() {
  useEffect(() => {
    const script = document.createElement('script')
    script.src = 'https://cdn.annot8.app/widget.js'
    script.dataset.projectId = 'pj_xxxxxxxxxxxx'
    script.async = true
    document.body.appendChild(script)
    
    return () => script.remove()
  }, [])
  
  return <div>Your App</div>
}

Vue

App.vue
<script setup>
import { onMounted } from 'vue'

onMounted(() => {
  const script = document.createElement('script')
  script.src = 'https://cdn.annot8.app/widget.js'
  script.dataset.projectId = 'pj_xxxxxxxxxxxx'
  script.async = true
  document.body.appendChild(script)
})
</script>

HTML

index.html
<!DOCTYPE html>
<html>
  <body>
    <!-- Your content -->
    
    <script 
      src="https://cdn.annot8.app/widget.js" 
      data-project-id="pj_xxxxxxxxxxxx"
      async
    ></script>
  </body>
</html>

Step 3: Start Collecting Feedback

Once installed, you'll see the Annot8 toolbar on your website:

  1. Click the Comment button (or press C)
  2. Click anywhere on the page to pin a comment
  3. Write your feedback and submit

That's it! Your feedback will appear in the dashboard in real-time.

Next Steps

On this page