> ## 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.

# Val Town integration

> Allow your Val Town script to perform complex tasks on the web.

Val Town is a platform for running JavaScript in a browser environment through serverless functions, called Vals.

The platform also serves as a social website for developers to code in the cloud.

Vals can be anything from a TypeScript playground to a personal automation tool, or the basis for a web API.

<Note>
  Val Town currently only supports JavaScript and TypeScript.

  Val Town is free to use, but requires a [paid plan](https://www.val.town/pricing) to access the full range of features.
</Note>

<Info>
  **Prefer native Browserbase infrastructure?** [Functions](/platform/runtime/overview) offer a similar serverless experience but run directly on Browserbase's infrastructure with built-in session management, local development tools, and Infrastructure-as-Code deployment. Great for complex browser automation workflows.
</Info>

## Add Browserbase to your Val

<CardGroup cols={1}>
  <Card title="Browserbase Vals" icon="book" iconType="sharp-solid" href="https://www.val.town/u/browserbase">
    Configure Browserbase to add additional web-browsing capabilities to your
    Val.
  </Card>
</CardGroup>
