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

# SaveProfileOptions

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

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

Target for `session.saveProfile()`. Pass at most one of the two fields.

```typescript theme={null}
export interface SaveProfileOptions {
  /** Existing profile to overwrite with the session's current browser state. */
  profile_id?: string;
  /** Create a new profile with this name and save into it. */
  name?: string;
}
```

## Fields

<ParamField body="profile_id" type={"string | undefined"}>
  Existing profile to overwrite with the session's current browser state.
</ParamField>

<ParamField body="name" type={"string | undefined"}>
  Create a new profile with this name and save into it.
</ParamField>


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