> For the complete documentation index, see [llms.txt](https://docs.nested.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nested.fi/instructions-for-use/manage-portfolios/original-portfolios/edit-portfolio/buy.md).

# Buy

The buy feature allows you to buy any tokens with stablecoins owned in your web3 wallet **or** your Nested portfolio.&#x20;

In this example, we want to buy CRV tokens with USDC owned in our web3 wallet.

### 1st step: click on "Buy crypto"

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

### 2nd step: select a crypto you want to buy

Select a crypto you want to buy and deposit to your Nested portfolio.&#x20;

You can search for any available cryptos through the search bear.

In our example, we searched & selected CRV.&#x20;

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

### 3rd step: select the source of the funds

You now have two choices: using stablecoins stored in your web3 wallet or in your Nested portfolio.&#x20;

In this example, we used stablecoins stored in our web3 wallet.

<figure><img src="/files/8H2qQAEaVeB8zhzXtsj1" alt=""><figcaption></figcaption></figure>

### 4th step: select a stablecoin

You now have to choose a stablecoin that is contained either in your web3 wallet or your Nested portfolio depending on the choice you made above.&#x20;

In this example, we used USDC to purchase CRV.&#x20;

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

### 5th step: set a budget and confirm

You must set the budget you want to use to buy the token you selected in the 2nd step. Once this budget is set, you can click on "Buy" and wait for the operation to be confirmed.

In our example, we decided to use USDC 2.7 to purchase our desired CRV tokens.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.nested.fi/instructions-for-use/manage-portfolios/original-portfolios/edit-portfolio/buy.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
