# Getting Started

### Step 1: Connect Your Wallet

XCCY is a non-custodial protocol.

* Connect a supported wallet on the desired network.
* Your wallet becomes your account — there are no deposits into centralized custody.
* All positions, collateral, and risk live on-chain and are visible at all times.

Once connected, you’ll see your **account dashboard**, including collateral, margin mode, and available balance.

### Step 2: Choose Your Margin Mode

Before trading, select how your collateral is managed:

* [**Isolated Margin**](https://docs.xccy.finance/concepts/risk-management/isolated-margin)\
  Each position is risk-contained. Collateral is tied to a specific pool.
* [**Portfolio Margin**](https://docs.xccy.finance/concepts/risk-management/portfolio-margin)\
  Collateral is shared across positions and netted by risk. More capital efficient.

<details>

<summary><em>Coming Soon</em></summary>

* [**X-Mode**](https://docs.xccy.finance/concepts/risk-management/x-mode-coming-soon) **(Clustered Margin)**\
  Optimized for highly correlated assets (e.g. ETH-like or USD-like). Enables the highest capital utilization.

</details>

You can change margin modes later, subject to risk constraints.

### Step 3: Add Collateral

Deposit [supported assets](https://docs.xccy.finance/concepts/risk-management/collateral-management) as collateral.

Collateral:

* secures your positions,
* determines your available margin,
* is dynamically valued by the risk engine.

Some products may automatically route idle collateral into conservative strategies (e.g. XLP Senior) to improve capital efficiency.

### Step 4: Choose What You Want to Do

XCCY supports multiple ways to participate. You don’t need to use all of them.

Common entry points:

* [**Lock**](https://docs.xccy.finance/concepts/fixed-yield-layer/lending) **a Fixed Yield (Savings-style)**
  * Earn a fixed APR for a defined term.
* [**Borrow**](https://docs.xccy.finance/concepts/fixed-yield-layer/borrowing) **at a Fixed Rate**
  * Lock borrowing costs in advance.
* [**Trade**](https://docs.xccy.finance/guides/trade-irs/take-liquidity) **Interest Rate Swaps (IRS)**
  * Hedge or speculate on future rates.
* [**Provide**](https://docs.xccy.finance/guides/trade-irs/provide-liquidity) **Liquidity**
  * Earn fees by supporting rate markets.
* **Use Advanced** [**Strategies**](https://docs.xccy.finance/guides/strategies)
  * Arbitrage, market making, or hedged yield strategies.

Each product has a dedicated guide explaining how it works and how to use it.

### Step 5: Monitor Risk & Positions

Once you open positions, keep track of:

* health factor,
* margin usage,
* open orders,
* accrued interest and PnL.

You can monitor everything through:

* the web interface,
* or the [**XCCY Telegram Bot**](https://docs.xccy.finance/developers/xccy-telegram-bot), which provides alerts and real-time updates.

### Step 6: Exit or Adjust Positions

Depending on the product:

* **Fixed Yield positions** can be held to maturity or exited early at zero interest.
* **IRS positions** can be closed at any time at market price.
* **Liquidity positions** can be adjusted or redeemed based on pool rules.

All exits and adjustments are on-chain and transparent.


---

# 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.xccy.finance/guides/getting-started.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.
