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

# Web Agent

> The Web Agent gives your AI agent the ability to search the internet when it can’t find answers within your connected knowledge sources. This ensures users always receive the most accurate and relevant responses, even when something isn’t documented yet.

When enabled, the Web Agent acts as a fallback search method. It first looks into your internal knowledge base (files, links, websites, etc.), and if no suitable answer is found, it fetches content from the web.

You can choose to limit web search to specific trusted websites by adding their links, or allow the agent to search the entire internet when no internal answer is found.

## Why Use the Web Agent?

The **Web Agent** boosts your AI assistant’s ability to handle edge cases or missing content without requiring constant manual updates.

By enabling this feature, the agent first searches your configured knowledge sources and, if no relevant answer is found, expands its search to the wider web. This ensures that your users receive the most accurate and complete responses without hitting dead ends.

You can choose to restrict the search to trusted websites for more control, or leave it open for broader coverage.

<Tip>To improve response quality, we recommend adding websites that are closely related to your industry or domain.</Tip>

## How to Enable and Configure Web Agent

Follow these steps to enable the Web Agent and set up custom search preferences:

<Steps>
  <Step title="Open Integrations">
    Go to your **Chat Agents** dashboard and click **View Agent** for the one you want to update. This opens the agent’s settings page, starting with the Appearance tab.

    <img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/web_agent/how_to_enable_cal.com.webp?fit=max&auto=format&n=vysntRSAlRQP34rG&q=85&s=b606412663c004caaca876997d9fc931" alt="Integration section" className="rounded-xl border-4 border-blue-100 dark:border-blue-300" width="1920" height="1080" data-path="images/integrations/web_agent/how_to_enable_cal.com.webp" />

    Switch to the **Integrations** tab in the top navigation.

    <img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/web_agent/integrations.webp?fit=max&auto=format&n=vysntRSAlRQP34rG&q=85&s=6abd0d24deed5cad3c7fdb1d26a98d28" alt="Integrations Section" className="rounded-xl border-4 border-blue-100 dark:border-blue-300" width="1920" height="800" data-path="images/integrations/web_agent/integrations.webp" />
  </Step>

  <Step title="Enable the Web Agent">
    Locate the **Web Agent** card and toggle the switch to turn it on.

    <img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/web_agent/web_agent_connected.webp?fit=max&auto=format&n=vysntRSAlRQP34rG&q=85&s=bb44f5e841e05fe7197ac6a13fef9f58" alt="Enabling Web Agent" className="rounded-xl border-4 border-blue-100 dark:border-blue-300" width="1920" height="816" data-path="images/integrations/web_agent/web_agent_connected.webp" />
  </Step>

  <Step title="Click Configure Button">
    Once enabled, click the **Configure** button to open the settings modal.

    <img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/web_agent/configurations.webp?fit=max&auto=format&n=vysntRSAlRQP34rG&q=85&s=589d43ad48296256d08dffaa50f3243b" alt="Configure Web Agent" width="400" height="400" className="mx-auto rounded-xl border-4 border-blue-100 dark:border-blue-300" data-path="images/integrations/web_agent/configurations.webp" />
  </Step>

  <Step title="Add Trusted Websites (Optional)">
    In the configuration modal:

    <img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/web_agent/add_trusted_websites.webp?fit=max&auto=format&n=vysntRSAlRQP34rG&q=85&s=b70980e36e10df79b7a245191a43d02d" alt="Enabling Web Agent" width="600" height="600" className="mx-auto rounded-xl border-4 border-blue-100 dark:border-blue-300" data-path="images/integrations/web_agent/add_trusted_websites.webp" />

    * You can enter up to **10 website URLs** to restrict the search scope to trusted sources.
    * Click “**+ Add Another Website**” to include multiple links.
    * Leave the list empty if you'd prefer the AI to search the entire internet when no match is found in your knowledge sources.
  </Step>

  <Step title="Save Configuration">
    Once you've added the desired websites (or left it blank), click **Save Configuration** to apply your settings.

    <img src="https://mintcdn.com/myidfi/vysntRSAlRQP34rG/images/integrations/web_agent/web_agent_connected.webp?fit=max&auto=format&n=vysntRSAlRQP34rG&q=85&s=bb44f5e841e05fe7197ac6a13fef9f58" alt="Connected Web Agent" className="rounded-xl border-4 border-blue-100 dark:border-blue-300" width="1920" height="816" data-path="images/integrations/web_agent/web_agent_connected.webp" />
  </Step>
</Steps>

## How Web Agent Works

* When a user asks a question, the AI first searches your connected knowledge sources (documents, files, links, text).
* If no relevant information is found:
  * If URLs are specified: The agent will only search the configured websites.
  * If no URLs are specified: The agent will search the entire internet.
* The best answer is selected and shown to the user.

## Best Practices

* **Use reliable sources**: Add websites that publish factual, up-to-date, and relevant content.
* **Keep it industry-specific**: Include links that reflect your business niche (e.g., your docs, blog, or trusted third-party sites).
* **Max 10 websites**: Keep your source list focused to maintain performance and answer quality.
* **Avoid vague or low-quality sources**: These can reduce answer precision and user trust.

## Coming Soon

We’re actively building deeper integrations with:

* WhatsApp
* Slack
* Telegram
* HubSpot

These will allow your agent to operate natively in more channels and sync deeply with your CRM.
