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

# Quickstart

> Get from a new workspace to your first AI spend, and a first budget, in about 15 minutes.

You need a work email, one AI or cloud account you can read usage from, and a project where you can change a few lines of code. The SDK step is optional for first spend but it is how you get per-customer and per-feature attribution.

The diagram shows the order and where each step lives in the console. Only one source is needed before spend appears; the SDK key is the optional branch that adds who spent it.

```mermaid theme={null}
flowchart LR
  A["Sign in<br/>invite link, MFA"] --> B["Connect › Sources<br/>AI key: about 15 min<br/>cloud bill: 24 to 48 h"]
  A --> U["or Connect › Upload data<br/>a month of your own bill"]
  A -.-> K["optional: Connect › SDK setup<br/>wrap your client, spend in seconds"]
  B --> D["Spend › This month<br/>Spend › Explore"]
  U --> D
  K -.-> D
  D --> E["Spend › Budgets<br/>set a monthly limit"]
  E --> F["Alerts at 75, 90 and 100 percent<br/>in-app by default"]
```

**1. Get into your workspace**

A workspace is created from a signup invite, which you get in one of three ways: the free Developer signup on tensorcost.com, a paid plan checkout, or AWS Marketplace. Each sends you a single-use link to `https://console.tensorcost.com`, where you name the workspace and choose a password. You become its first admin.

One free workspace exists per company email domain. If a colleague already made it, ask them to invite you from **Settings › Members**.

Production sign-in requires multi-factor authentication with an authenticator app (TOTP). You are sent to enrol the first time you sign in. Passwords need at least 12 characters with upper case, lower case, a number and a symbol.

**2. Connect one source, or upload a bill**

Open **Connect › Sources**. Only admins see the Connect chapter, so if you can't, ask an admin for the role.

The fastest source is an AI provider: paste an OpenAI or Anthropic admin key, and usage imports every 15 minutes from the day you connect. Cloud bills (AWS, Azure, Google Cloud) take longer: the first spend usually lands in 24 to 48 hours.

If you want to see your own numbers before connecting an account, use **Connect › Upload data** to upload a month of an AWS bill, Bedrock logs, or an OpenAI or Anthropic usage export. Details are in [Upload data](https://docs.tensorcost.com/connect/upload-data.md); the full list of sources is in [Connect your data](https://docs.tensorcost.com/connect/overview.md).

**3. Create an SDK key and wrap a client**

In **Connect › SDK setup**, choose **Mint SDK key**. The key is filled into the snippet and shown once, so copy it now. Set it with your workspace id (tenant id), which the snippet already carries:

```bash theme={null}
export TENSORCOST_API_KEY=tc_live_...
export TENSORCOST_TENANT_ID=your-tenant-id
export TENSORCOST_BASE_URL=https://api.tensorcost.com
```

Then wrap the client you already use. **Connect › SDK setup** shows the call when it lands.

```ts Node theme={null}
import OpenAI from "openai";
import { wrap } from "@tensorcost/sdk";

const openai = wrap(new OpenAI());
```

```python Python theme={null}
from openai import OpenAI
from tensorcost import wrap

client = wrap(OpenAI())
```

The default layer only observes: it records each call's model, tokens, timing and cost, and never changes the call. See [SDKs](https://docs.tensorcost.com/developers/sdk.md) for the other providers and the control layers.

**4. See your spend**

Open **Spend › This month** for the month so far, and **Spend › Explore** to slice it by provider and model. If a card on **Connect › Sources** still says "Awaiting first sync", the next daily import will fill it in, or choose **Sync now**.

**5. Set a first budget**

Open **Spend › Budgets** and create a budget for the month. Finance and admin roles can create budgets. See [Budgets and forecasts](https://docs.tensorcost.com/spend/budgets.md).

## Next

> [card] [How spend is counted](https://docs.tensorcost.com/concepts.md)
>
> Why a provider's bill and your SDK calls don't add up twice.

> [card] [Cost per customer](https://docs.tensorcost.com/spend/customers.md)
>
> Attribute spend to the customers and features behind it.

> [card] [Limits and alerts](https://docs.tensorcost.com/control/overview.md)
>
> Cap runs and agents, and get told before a budget is spent.

> [card] [Invite your team](https://docs.tensorcost.com/admin/users-and-access.md)
>
> Roles, teams and single sign-on.


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