---
source_url: "https://www.browserbase.com/templates/getting-started-with-browserbase"
title: "Getting started with Browserbase: search, fetch & browser sessions | Browserbase"
mirrored_at: 2026-08-29T13:03:15.964Z
host: www.browserbase.com
cited_in_42a: true
mirror_canonical: "https://index.42a.ai/www.browserbase.com/templates/getting-started-with-browserbase"
---

> **Original source:** https://www.browserbase.com/templates/getting-started-with-browserbase

Get started with Browserbase in a single script covering the Search API, Fetch, and browser sessions powered by Playwright.

![](https://www.browserbase.com/website-assets/templates/thumbnails/getting-started-with-browserbase-template-thumbnail.webp)![Getting started with Browserbase demo](https://www.browserbase.com/website-assets/templates/thumbnails/getting-started-with-browserbase-template-thumbnail.webp)

Send this template to your email, or view it on your desktop for the source code.

## Get started with Browserbase

Get up and running with all three core Browserbase capabilities in a single script. The [Search API](https://docs.browserbase.com/features/search) lets you perform web searches programmatically and receive structured results, no browser session required. [Fetch](https://docs.browserbase.com/features/fetch) grabs the content of any URL through Browserbase's infrastructure without creating a browser session, ideal for quick page retrievals where you don't need interactivity. And [Browser Sessions](https://docs.browserbase.com/introduction/getting-started) give you a full cloud browser controlled via [Playwright](https://playwright.dev/) and CDP. No AI model required, just your Browserbase API key.

Steps

1.  Run a web search using the Search API and print the top results with titles and URLs
2.  Fetch a Wikipedia page using the Fetch API (no browser) and extract the page title from raw HTML
3.  Create a Browserbase session and connect via CDP using Playwright
4.  Navigate to Wikipedia, search for a topic, and extract the article title, summary, and section headings