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

# Choose your setup

> Three setups in increasing order of access and risk — market data only, full account access, then trading.

Three environment variables and two flags is a lot to absorb at once. You don't need all of them. Pick the level you actually want and verify it works before adding the next one.

## Level 1 — Market data only

No credentials at all. Proves the install and the client wiring with nothing at risk.

```bash theme={null}
YELLOW_PRO_MODULES=market
```

You get prices, order books, klines, funding rates, and the supported networks and assets. Every tool in the [market module](https://docs.yellow.pro/mcp/tools.md#market) works with no key.

> [!TIP]
>
> Start here even if you ultimately want trading. If market data works, the server is installed and your client is spawning it correctly — which eliminates most of the [troubleshooting](https://docs.yellow.pro/mcp/troubleshooting.md) surface before credentials are involved.

## Level 2 — Full account access, still read-only

Add the three credentials. You can now read balances, orders, positions, fills, fee tiers, and history. No order can be placed, because trading tools are not registered.

```bash theme={null}
YELLOW_PRO_API_KEY=...
YELLOW_PRO_API_SECRET=...
YELLOW_PRO_APP_SESSION_ID=...
YELLOW_PRO_MODULES=market,account
```

See [Getting your credentials](https://docs.yellow.pro/mcp/credentials.md) for how to obtain these, and the [scope table](https://docs.yellow.pro/mcp/credentials.md#scopes-and-tools) for which API-key permissions each group of tools needs.

## Level 3 — Trading

Add the opt-in flag. Order placement, cancellation, position closing, leverage changes, and internal transfers become available.

```bash theme={null}
YELLOW_PRO_ENABLE_TRADING=true
```

> [!WARNING]
>
> Read [Risk and safety](https://docs.yellow.pro/mcp/risk-and-safety.md) before this step. Two tools — `cancel_all_orders` and `close_positions` — act on your **entire** account when called without a market, and they are single-word requests for an agent.

## Which module does what

| Module | Credentials | Contains |
| - | - | - |
| `market` | Not required | Public market data |
| `account` | Required (except `get_fee_schedule`) | Balances, orders, positions, history, fee tiers |
| `trading` | Required, plus `YELLOW_PRO_ENABLE_TRADING=true` | Orders, position closing, leverage, transfers |

Omitting `YELLOW_PRO_MODULES` loads all modules. Full details in [Configuration](https://docs.yellow.pro/mcp/configuration.md).


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