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

# Add web browsing capabilities to your agent

> Let your crewAI Agent browse the web like a human.

<Steps titleSize="h3">
  <Step title="Get your API key">
    Go over the [Dashboard's Settings tab](https://www.browserbase.com/settings):

    <Frame>
      <img src="https://mintcdn.com/browserbase/giE_cpy18f2mWHqr/images/quickstart/api_key.png?fit=max&auto=format&n=giE_cpy18f2mWHqr&q=85&s=4ac94a8f69cec20bd17b2a8788169062" width="3410" height="1864" data-path="images/quickstart/api_key.png" />
    </Frame>

    Then copy your API Key directly from the input and
    set the `BROWSERBASE_API_KEY` environment variable.
  </Step>

  <Step title="Install the Browserbase SDK">
    ```bash theme={null}
      pip install browserbase 'crewai[tools]'
    ```
  </Step>

  <Step title="Import and configure BrowserbaseLoadTool">
    ```python theme={null}
    from crewai_tools import BrowserbaseLoadTool
    from crewai import Agent

    # See https://github.com/joaomdmoura/crewAI-examples/blob/main/instagram_post/tools/search_tools.py
    from tools.search_tools import SearchTools


    browserbase_tool = BrowserbaseLoadTool()

    # Extract the text from the site
    text = browserbase_tool.run()
    print(text)


    # Use the BrowserbaseLoadTool for travel planning
    agent = Agent(
        role='Local Expert at this city',
        goal='Provide the BEST insights about the selected city',
        backstory="""A knowledgeable local guide with extensive information
        about the city, it's attractions and customs""",
        tools=[
            SearchTools.search_internet,
            browserbase_tool,
        ],
        verbose=True
    )
    ```
  </Step>
</Steps>
