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

> Secure credential management made easy

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

Vaults allow agents to use credentials securely, without making them available to the llms.

{/* @sniptest testers/vaults/manual.py */}

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

client = NotteClient()

# Creating a new vault
vault = client.Vault()

# Add your credentials securely
vault.add_credentials(
    url="https://github.com/",
    email="<your-email>",
    password="<your-password>",
    mfa_secret="<your-mfa-secret>",
)

# remove a credential from the vault
vault.delete_credentials(url="https://github.com/")

# list all credentials in the vault
credentials = vault.list_credentials()
print(credentials)

# delete the vault when you don't need it anymore
vault.delete()

# you can also list your active vaults as follows:
active_vaults = client.vaults.list()
print(active_vaults)
```

See more operations on vaults:

<CardGroup cols={3}>
  <Card title="Add credentials" icon="user-plus" href="../nottevault/add_credentials">
    Set your login information for a website
  </Card>

  <Card title="Fetch credentials" icon="magnifying-glass" href="../nottevault/get_credentials">
    Fetch your login information
  </Card>

  <Card title="List credentials" icon="list" href="../nottevault/list_credentials">
    Get websites for which you stored logins
  </Card>
</CardGroup>

## Parameters

<ParamField path="vault_id" type="UnionType[str, None]" default="None" />

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