Installation
Loading the extension and configuring API access
Installation
The Lazer Chrome Extension is currently distributed as an unpacked extension for development and testing. Follow these steps to load and configure it.
Prerequisites
- Chrome, Edge, or Brave browser (Manifest V3 support)
- Lazer account (sign up at your Lazer instance)
- API token (generated from your Lazer account)
Step 1: Obtain the Extension
Clone or download the Lazer project repository:
git clone https://github.com/your-org/lazer-v2.git
cd lazer-v2/chrome-extension
Alternatively, download a release build if available.
Step 2: Load Unpacked Extension
- Open Chrome and navigate to
chrome://extensions - Enable "Developer mode" toggle in the top-right corner
- Click "Load unpacked"
- Select the
chrome-extensiondirectory from the Lazer project - The extension should appear in your extensions list
The extension icon will appear in your browser toolbar. Pin it for easy access.
Step 3: Generate API Token
Before you can use the extension, you need to create an API token in your Lazer account:
- Log in to your Lazer web app
- Navigate to Settings or Profile
- Find the "API Tokens" or "Integrations" section
- Click "Create New Token"
- Give it a descriptive name (e.g., "Chrome Extension - Laptop")
- Copy the generated token (it starts with
lzr_)
API tokens expire after 90 days. You can revoke tokens at any time from the web app.
Step 4: Configure Extension Settings
-
Click the Lazer extension icon in your browser toolbar
-
The side panel will open
-
Click the gear icon in the top-right to open Settings
-
Enter your configuration:
- App URL: Your Lazer instance URL (e.g.,
http://localhost:3000orhttps://lazer.yourdomain.com) - API Token: The token you generated in Step 3
- App URL: Your Lazer instance URL (e.g.,
-
Click "Save"
The extension will validate your token and display a connection status indicator at the bottom of the side panel.
Step 5: Grant Host Permissions
The extension requires host permissions to detect and capture content from AI platforms. You'll be prompted to grant permissions when you first visit a supported platform.
Required Permissions
storage- Store settings and sync queue locallytabs- Detect current tab URL for platform detectionalarms- Schedule periodic sync attemptssidePanel- Display persistent side panel UIhost_permissions- Access content on AI platform domains
Per-Platform Permissions
The extension only requests access to domains you actually use. Supported platforms include:
sora.com,sora.chatgpt.com- OpenAI Soragemini.google.com,aistudio.google.com- Google Gemini/Veofreepik.com- Freepik Pikasomidjourney.com- Midjourneyrunwayml.com- Runwayelevenlabs.io- ElevenLabssuno.ai- Suno
Verification
To verify your installation:
-
Open the side panel by clicking the extension icon
-
Check the status indicator at the bottom:
- Green dot + "Connected" = successful authentication
- Red dot + "Disconnected" = configuration issue
-
Navigate to the Capture tab
-
Select a project and scene from the dropdowns
-
Visit any supported AI platform and verify platform detection appears
Troubleshooting
"Unauthorized" Error
- Verify your API token is correct and not expired
- Check that the App URL matches your Lazer instance exactly (including http/https and port)
- Regenerate your API token if needed
No Platform Detection
- Ensure you've granted host permissions for the platform domain
- Check that you're on a supported page (generation or results page, not homepage)
- Click the refresh icon in the detection banner to retry
Connection Issues
- Verify your Lazer instance is running and accessible
- Check browser console for CORS errors (extension should handle CORS automatically)
- Ensure your API token has not been revoked
Updates
When the extension is updated:
- Pull the latest code or download the new release
- Go to
chrome://extensions - Click the refresh icon on the Lazer extension card
- Your settings and queue will be preserved