# How to Borrow

{% hint style="info" %}
**TLDR:** borrow $HEX1 stablecoin by depositing hex in the vault that gets staked and generates tshares.
{% endhint %}

## Borrow Process

<figure><img src="/files/voNHPu21lHCGmlHCgdN8" alt=""><figcaption></figcaption></figure>

### Deposit HEX <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Pick an amount of HEX tokens to deposit. The USD value must be greater than $1. HEX will be transformed into T-Shares by the vault, and used as collateral.&#x20;

After you successfully deposit you receive your Hex1 Debt Title NFT, that contains the T-shares and dates of your deposit.&#x20;

<figure><img src="/files/3mXd1exXu7xMp4f3ca9x" alt=""><figcaption></figcaption></figure>

### Borrow HEX1 <a href="#what-is-a-vault" id="what-is-a-vault"></a>

In Your Loans table you will see the following information regarding your positions:

#### StakeId <a href="#what-is-a-vault" id="what-is-a-vault"></a>

The stakeId that matches the collateral deposit.

#### TokenID <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Id on the Hex One Protocol database.

#### Start/End <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Start and end dates of staked HEX (collateral).

#### Amount <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Total HEX staked (principal).

#### Borrowed <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Total HEX1 borrowed.

#### Health Ratio <a href="#what-is-a-vault" id="what-is-a-vault"></a>

When this ratio is > 250% there is no chance of liquidation. The starting point increases with the T-share payout increase.&#x20;

#### Max Borrowable  <a href="#what-is-a-vault" id="what-is-a-vault"></a>

The max amount of HEX1 tokens that can be borrowed against the debt position. This number increases if the price of HEX increases, from the user's starting price.&#x20;

### Buttons

#### Borrow&#x20;

Choose an amount to borrow against your debt title HDT NFT. Your health ratio will decrease.

#### Repay <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Choose an amount of HEX1 to repay (burn). Your health ratio will increase.

#### Withdraw <a href="#what-is-a-vault" id="what-is-a-vault"></a>

Mint the staked HEX + Hedron + COM, and repay any owed HEX1.


---

# 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://learn.hex1.club/hex-one-protocol/borrow/distribution.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.
