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

# Anchor Browser

> Learn how to integrate AI agents with Anchor Browser using xpander.ai. Create intelligent AI agents that can browse the internet and complete complex tasks end-to-end.

## About Anchor Browser

Anchor Browser is a programmable, cloud-based browser built for AI agents and automation software. Anchor Browser lets software and autonomous agents interact with the web exactly like a real human would, using a full Chromium environment, real network identities, and persistent state.

Unlike traditional scraping or HTTP tools, Anchor Browser renders pages fully, executes JavaScript, solves modern web challenges, and performs multi-step workflows across real websites.

## Authentication Options

Below are possible authentication options you can choose:

<Tabs>
  <Tab title="API Access">
    ### Generate an Anchor Browser API Key

    1. Log in to your [Anchor Browser account](https://app.anchorbrowser.io/).

    2. Click **API Keys**.

           <img src="https://mintcdn.com/xpanderai-099931d1/d5dsBKpWpzF6n1Fd/images/connectors/anchor-browser/img_1.png?fit=max&auto=format&n=d5dsBKpWpzF6n1Fd&q=85&s=d92ac2c0d51a5ce9932ec3bbc8773f37" alt="Img 1" width="2880" height="1542" data-path="images/connectors/anchor-browser/img_1.png" />

    3. Click **+ Add** on the top right corner of the **API Keys** page to create a new API key.

    4. Enter a name for the new API key in the **Create New API Key** dialog that appears, and click **Continue** to create the new API key.

           <img src="https://mintcdn.com/xpanderai-099931d1/d5dsBKpWpzF6n1Fd/images/connectors/anchor-browser/img_2.png?fit=max&auto=format&n=d5dsBKpWpzF6n1Fd&q=85&s=9467b7663c63fe1590c8e2eb4eb0169b" alt="Img 2" width="2074" height="1450" data-path="images/connectors/anchor-browser/img_2.png" />

    5. The new API key will appear in the API Keys page. Click the copy icon next to the API key to copy the generated key and store it somewhere safe.

           <img src="https://mintcdn.com/xpanderai-099931d1/d5dsBKpWpzF6n1Fd/images/connectors/anchor-browser/img_3.png?fit=max&auto=format&n=d5dsBKpWpzF6n1Fd&q=85&s=260a9f85307edfe4e7a3926aec13f9e9" alt="Img 3" width="2880" height="1542" data-path="images/connectors/anchor-browser/img_3.png" />

    ### Integrate Anchor Browser into xpander.ai

    1. Go to the **Connectors** section in the sidebar of your xpander.ai dashboard.
    2. Select **Anchor Browser** from the available integrations.
    3. Click **Enable**.
    4. Enter a **connector name** as desired, e.g., "xpander-anchorbrowser".
    5. Select **Integration User** for the authentication mode.
    6. Choose **API Key** as the authentication method.
    7. Paste your Anchor Browser API key into the provided field.
    8. Choose **Custom** as the auth type.
    9. Enter **anchor-api-key** as the custom header name.
    10. Enter **[https://api.anchorbrowser.io](https://api.anchorbrowser.io)** as the base URL in the Interface specific settings section.
    11. Save the configuration.

            <img src="https://mintcdn.com/xpanderai-099931d1/d5dsBKpWpzF6n1Fd/images/connectors/anchor-browser/img_4.png?fit=max&auto=format&n=d5dsBKpWpzF6n1Fd&q=85&s=b4faa0ada263a1e234f855c96a2a357b" alt="Img 4" width="2206" height="1428" data-path="images/connectors/anchor-browser/img_4.png" />
  </Tab>
</Tabs>

## Integration of Anchor Browser into an AI Agent

Once you’ve configured your Anchor Browser connector with the authentication option(s) described above, you can integrate it into your AI agent with xpander.ai:

1. In your xpander.ai dashboard, navigate to the **Agents** page, then click an agent to open the **Agent Configuration** tab.
2. Select **Tools**, then click **Add Tools**.
3. Select **Connectors**.
4. Choose **Anchor Browser** with the same **connector name** you configured in the previous section (e.g., xpander-anchorbrowser).
5. Select the available Anchor Browser operations that suit your use case.

   To grant your agent web-browsing capabilities, enable the following operations.

   * **Create Browser Session**
   * **Fetch Rendered Webpage Content**

<img src="https://mintcdn.com/xpanderai-099931d1/d5dsBKpWpzF6n1Fd/images/connectors/anchor-browser/img_5.png?fit=max&auto=format&n=d5dsBKpWpzF6n1Fd&q=85&s=5a3f2d707c9ee9db47c1fc85558678fc" alt="Img 3" width="2880" height="1554" data-path="images/connectors/anchor-browser/img_5.png" />

## AI Agent Anchor Browser Prompt Library

Below are possible prompts or use cases you can try after integrating Anchor Browser into your xpander.ai AI agent:

```
Visit Amazon, search for “wireless noise cancelling headphones,” and summarize the top 5 results by rating and price.
```

```
Can you visit our competitor’s pricing page and tell me if anything has changed since last week?
```

```
Go to LinkedIn, search for “Head of Engineering” roles in Berlin, and collect the first 20 company names.
```

```
Open our CRM, find all leads created this week, and export them to a spreadsheet.
```

<img src="https://mintcdn.com/xpanderai-099931d1/9tKr3fyK_njTS0qg/images/connectors/anchor-browser/gif_1.gif?s=bb61feeada872b9820f953fd846b0908" alt="Gif 1" width="800" height="641" data-path="images/connectors/anchor-browser/gif_1.gif" />

## Related Resources

* [Using Tools & Connectors in the xpander.ai platform](/guides/agents/tools-connectors)
* [Anchor Browser Documentation](https://docs.anchorbrowser.io/introduction)
