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

# Get started

> Create, manage, and execute Notte functions

<Tip>
  Read [the Notte skill](https://notte.cc/skill.md) and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
</Tip>

Functions are serverless deployments of your browser automations that can be invoked via API, scheduled to run automatically, or triggered by events.

<CodeGroup>
  ```python my_scraping_function.py theme={null}
  from notte_sdk import NotteClient

  client = NotteClient()


  def run(url: str):
      with client.Session() as session:
          session.execute(type="goto", url=url)
          return session.scrape()
  ```

  ```python play_with_function.py theme={null}
  from notte_sdk import NotteClient

  client = NotteClient()

  # Create a new function from our local Python file
  function = client.Function(
      path="my_scraping_function.py", name="My Scraping Function", description="A function for scraping the web"
  )
  print(f"Function created with ID: {function.function_id}. You can reference it using `client.Function(<function_id>)`")

  # Run the function, providing variables
  response = function.run(url="https://shop.notte.cc/")
  print(f"Function completed with result: {response.result}")

  # Update function with new version, from our local python file
  function.update(path="my_scraping_function.py")

  # List all functions
  functions = client.functions.list()
  ```
</CodeGroup>

## Parameters

<ParamField path="function_id" type="str | None" default="None" />

<ParamField path="decryption_key" type="str | None" default="None" />

<ParamField path="path" type="str" required>
  The path to the function to upload.
</ParamField>

<ParamField path="name" type="str | None" />

<ParamField path="description" type="str | None" />

<ParamField path="shared" type="bool" />


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.