Widget Setup Guide
Add the LawBridge chat widget to your law firm's website to capture leads automatically.
Overview
The LawBridge chat widget allows potential clients to contact your firm directly from your website. All conversations are automatically captured in your CRM and can be converted to leads with one click.
Step 1: Get Your Organization ID
- Log in to your LawBridge CRM account
- Navigate to Settings → Integrations
- Find the "Widget Settings" section
- Copy your Organization ID
Step 2: Add the Widget Code
Add the following code to your website, just before the closing </body> tag:
<script src="https://lawbridge-widget.vercel.app/widget.js" data-org-id="YOUR_ORGANIZATION_ID" data-theme-color="#3b82f6" data-position="bottom-right"> </script>
Replace YOUR_ORGANIZATION_ID with your actual organization ID from Step 1.
Step 3: Configure Widget Settings
In your CRM, customize how the widget appears and behaves:
Theme Color
Choose a color that matches your website's branding. Enter a hex color code (e.g., #3b82f6 for blue).
Welcome Message
Customize the greeting visitors see when they open the chat. Default: "Hello! How can we help you today?"
Notification Email
Enter an email address to receive instant notifications when new conversations start.
Allowed URLs
For security, specify which domains can use your widget (e.g., yourlawfirm.com).
Configuration Options
| Attribute | Required | Description |
|---|---|---|
data-org-id | Yes | Your organization ID from the CRM |
data-theme-color | No | Widget accent color (hex). Default: #3b82f6 |
data-position | No | Widget position: "bottom-right" or "bottom-left" |
Managing Conversations
Once the widget is live, conversations appear in your CRM:
- Navigate to Conversations in the sidebar
- View all visitor conversations
- Click on a conversation to reply
- Click "Convert to Lead" to add to your pipeline
⚠️ URL Allowlist
Make sure to add your website's domain to the "Allowed URLs" in Settings → Integrations. The widget will only work on domains you've explicitly allowed. Your plan limits how many domains you can add.