> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loopz.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploying Your Agent

> Make your AI agent live on your website and messaging channels

Once your agent is configured and trained, it's time to make it available to your customers.

## Web Widget (Embed on Your Website)

Add your agent to any website with a simple code snippet.

<Steps>
  <Step title="Go to Settings">
    Go to your agent's settings
  </Step>

  <Step title="Open Deploy Tab">
    Click the **"Deploy"** tab
  </Step>

  <Step title="Copy Embed Code">
    Copy the embed code provided
  </Step>

  <Step title="Add to Website">
    Paste the code before the `</body>` tag on your website
  </Step>
</Steps>

### Embed Code

```html theme={null}
<script src="https://talk.loopz.ai/embed-popup.js?agentId=YOUR_AGENT_ID"></script>
```

<Warning>
  Replace `YOUR_AGENT_ID` with your actual agent ID from the dashboard.
</Warning>

### Compatible Platforms

<CardGroup cols={3}>
  <Card title="WordPress" icon="wordpress">
    Add to theme footer
  </Card>

  <Card title="Shopify" icon="shopify">
    Add to theme.liquid
  </Card>

  <Card title="Wix" icon="wix">
    Use custom code embed
  </Card>

  <Card title="Squarespace" icon="squarespace">
    Use code injection
  </Card>

  <Card title="Custom Sites" icon="code">
    Works with any HTML
  </Card>

  <Card title="Landing Pages" icon="page">
    Add to page footer
  </Card>
</CardGroup>

***

## WhatsApp Deployment

If you've connected WhatsApp Business:

<Steps>
  <Step title="Connect WhatsApp">
    Complete the WhatsApp integration setup
  </Step>

  <Step title="Receive Messages">
    Customers can message your WhatsApp number
  </Step>

  <Step title="Auto-Response">
    Your agent responds automatically
  </Step>

  <Step title="Monitor Inbox">
    View all conversations in your Inbox
  </Step>
</Steps>

***

## Zid Store Deployment

For Zid stores, deployment is automatic:

<Steps>
  <Step title="Connect Zid">
    Connect your Zid account via Integrations
  </Step>

  <Step title="Auto-Deploy">
    The widget automatically appears on your store
  </Step>

  <Step title="Product Sync">
    Agent syncs with your product catalog
  </Step>
</Steps>

***

## Testing Before Going Live

<Tip>
  Always test your agent before making it available to customers!
</Tip>

<Steps>
  <Step title="Use Live Preview">
    Use the live preview to test conversations
  </Step>

  <Step title="Ask Common Questions">
    Ask common customer questions
  </Step>

  <Step title="Check Accuracy">
    Check that responses are accurate
  </Step>

  <Step title="Verify Integrations">
    Verify integrations work correctly
  </Step>
</Steps>

## Next Steps

<CardGroup cols={2}>
  <Card title="Manage Conversations" icon="inbox" href="/guide/inbox">
    View and respond to customer chats
  </Card>

  <Card title="Troubleshooting" icon="wrench" href="/guide/troubleshooting">
    Common issues and solutions
  </Card>
</CardGroup>
