Skip to main content
Once you’ve configured your agent, it’s time to deploy it to your website. The Deploy page provides everything you need to get your widget live.

Deployment Overview

Deploying Crow involves:
  1. Embed the script — Add a script tag to your website
  2. Configure security — Set up identity verification (optional)
  3. Go live — Your users can start chatting

Embed Script

The Deploy page shows your unique embed code:
<script
  src="https://widget.usecrow.ai/crow-widget.js"
  data-product-id="your-product-id"
></script>

Adding to Your Website

Copy the script and add it to your website: HTML
<!-- Add before </body> -->
<script
  src="https://widget.usecrow.ai/crow-widget.js"
  data-product-id="your-product-id"
></script>
React / Next.js
import Script from 'next/script'

export default function Layout({ children }) {
  return (
    <>
      {children}
      <Script
        src="https://widget.usecrow.ai/crow-widget.js"
        data-product-id="your-product-id"
        strategy="afterInteractive"
      />
    </>
  )
}
For more detailed integration instructions, see the Embed Widget Guide.

Security Key

The Security Key is used for identity verification. This allows you to authenticate users so the agent knows who they are.

Viewing Your Key

Your security key is hidden by default. Click the eye icon to reveal it.

Using the Key

Use this key on your backend to sign JWT tokens for identity verification. Never expose this key in client-side code. For implementation details, see the Identity Verification Guide.
Keep your security key secret. If compromised, regenerate it immediately from the Crow Dashboard.

Pre-Deployment Checklist

Before going live, verify:

Agent Configuration

  • Agent name is set appropriately
  • System prompt is complete and tested
  • Responses are accurate in Sandbox testing

Knowledge Base

  • Relevant documents are uploaded
  • Website is crawled (if applicable)
  • Notion is connected (if applicable)
  • Agent can answer common questions

Integrations

  • OpenAPI spec is uploaded (if using)
  • API authentication is configured
  • MCP servers are connected (if using)

Actions

  • Appropriate tools are enabled
  • Workflows are set up and tested
  • Sensitive operations are disabled

Security (if applicable)

  • Identity verification is implemented
  • JWT tokens are being generated correctly
  • Authenticated users are recognized

Testing in Production

After deploying:
  1. Visit your site — Check that the widget appears
  2. Test as anonymous user — Verify basic functionality
  3. Test as authenticated user — Verify identity is recognized
  4. Try common questions — Ensure accurate responses
  5. Test integrations — Verify tools work correctly

Monitoring After Launch

Once live, use the Activity page to:
  • Monitor conversation volume
  • Identify issues quickly
  • Spot common questions
  • Improve your agent over time

Documentation


Need Help?