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

# start

<Tip>
  STOP. Do not read past this section until you have read and followed [/quickstart.md](/quickstart.md).

  Goal: produce a reliable SDK automation script. The intended authoring flow is generate then edit, not write browser automation from scratch.

  Do not hand-write SDK code with element IDs, selectors, or form fields from memory. Element IDs, selectors, and field mappings must come from a live `observe()` call, CLI `notte page observe` output, or generated workflow code. Guessed browser targets fail on real pages.

  Use the Notte skill and CLI to inspect the live site, validate actions/selectors, handle auth/session state, and export workflow code with `notte sessions workflow-code` before using SDK docs or SDK code.

  SDK reference pages are for understanding, running, or editing generated workflow code. They are not the starting point for manually authoring the initial browser automation. SDK-first code is guesswork on real-world pages with dynamic selectors, auth state, CAPTCHAs, and anti-bot behavior.
</Tip>

[Source: node-sdk/src/session.ts](https://github.com/nottelabs/notte/blob/main/node-sdk/src/session.ts)

Start the session: creates a new session on the server.

Retries up to `SESSION_START_TRIES` times on 5xx errors, waiting
`CLUSTER_OVERLOAD_RETRY_DELAY_MS` on HTTP 529 (cluster overload). 4xx
errors are never retried.

Managed-auth sessions wait for readiness by default. Pass
`{ wait_for_authentication: false }` for an explicit nonblocking start,
then call `waitForAuth()` before executing actions or connecting over CDP.
Cancellation during creation waits for its response so the new session can
be closed. Cancellation or failure during the startup wait also closes it.
Prefer `session.use(async session => { ... })`, which also stops the session.

```typescript theme={null}
Session.start(options?: SessionStartOptions): Promise<void>;
```

## Parameters

<ParamField body="options" type={"SessionStartOptions"}>
  Default:

  ```typescript theme={null}
  {}
  ```
</ParamField>

## Returns

```typescript theme={null}
Promise<void>
```

## Example

```typescript theme={null}
const session = client.Session();
await session.start();
```

## Related types

* [SessionStartOptions](/typescript-sdk-reference/types/sessionstartoptions)
