# Quickstart

**In 2 minutes**, your AI tool can run real tasks against your credentials. Secrets stay inside TEE; your AI sees  only results.

## Set up

### Tell your AI agent

In Claude Code, Codex, Cursor (Agent mode), or any AI tool with shell access, paste:

> <mark style="color:orange;">Install</mark> <mark style="color:orange;"></mark><mark style="color:orange;">`@toani/vault-cli@latest`</mark> <mark style="color:orange;"></mark><mark style="color:orange;">globally, set</mark> <mark style="color:orange;"></mark><mark style="color:orange;">`TOANI_BASE_URL=https://api.toani.ai`</mark><mark style="color:orange;">, then run</mark> <mark style="color:orange;"></mark><mark style="color:orange;">`toani login`</mark><mark style="color:orange;">. I'll handle the browser clicks.</mark>

The AI installs the CLI, sets the cloud URL, and runs `toani login`.

### Or run the commands yourself

```bash
npm install -g @toani/vault-cli@latest
export TOANI_BASE_URL="https://api.toani.ai"
toani login
```

> **Heads up**: `TOANI_BASE_URL` is required until the CLI default changes; otherwise `toani login` hits "Connection refused".

### Then: browser clicks

`toani login` opens [toani Dashboard](https://dashboard.toani.ai) your browser. Click through:

1. **Sign in** (email + OTP).
2. **Create credential.** Pick the **credential type** that matches what you have. For example, **API Key** for Stripe, name it `stripe-personal`, paste your key.
3. **Generate token.** Keep defaults, click **Generate** then **📋 Copy**.
4. **Install the Skill** into Claude Code / Codex when asked.

Run `toani doctor`. <mark style="color:$success;">**7 green checks**</mark> means you're set.

***

## Try it

In Claude Code or Cursor:

```
/toani-vault-cli Using my stripe-personal credential, list my 5 most recent customers.
```

> **Codex users**: use `$` instead of `/`.

Your key never touches the chat or disk. The call runs inside a TEE.

That's it!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toani.ai/about-toani/quickstart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
