# Credit Vault tutorial

Users can test Credit Vaults by creating their own demo vault on Optimism Sepolia using [this link](https://legacy.truefi.io/structured-credit-portfolio/create).&#x20;

{% hint style="warning" %}
Before beginning, you will need to switch to the Optimism Sepolia test network and ensure your wallet is funded with test ETH and test USDC assets.

To complete these steps, follow this [step-by-step guide](https://scribehow.com/shared/Deploying_TrueFi_vaults_on_testnet_Optimism_Goerli_Copy__4esrcIFrSeiqSuLbx_P7IQ?back_to=browser).
{% endhint %}

Follow the Scribe tutorial below or view written instructions [here](#instructions).

## Step-by-step walkthrough (using Scribe app)

{% embed url="<https://scribehow.com/shared/Deploying_TrueFi_vaults_on_testnet_Optimism_Goerli__tgLDPMYBR3KfWvC8rLUQJQ>" %}

## Instructions:

1. First, switch network to Optimism Goerli (testnet)&#x20;
   * To add network to wallet, navigate to <https://chainid.link/?network=optimism-goerli> and click 'Connect'
2. Next, fund your wallet with testnet ETH and testnet USDC&#x20;
   * Get 0.01 test ETH by using <https://isomorph.loans/faucet> or other faucet
   * Mint "mock" USDC `0x5f1c3c9d42f531975edb397fd4a34754cc8d3b71` via [Etherscan](https://goerli-optimism.etherscan.io/address/0x5f1c3c9d42f531975edb397fd4a34754cc8d3b71#code) to use for lending/borrowing in test vaults
     * Connect wallet and mint desired amount (6 decimals)

       <div align="left"><figure><img src="/files/7iWpM8t0ebnXSTseugzO" alt=""><figcaption></figcaption></figure></div>
3. Finally, navigate to <https://app.truefi.io/structured-credit-portfolio/create> or click 'Create new portfolio' -> select 'Credit Vault' in TrueFi app and follow the flows:
   * For a demo and more details, see [Creating a vault](/user-guide/manage/creating-a-vault.md)&#x20;
   * For technical documentation, see [Credit Vaults](/brila-protocol/credit-vaults.md)


---

# 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.brila.finance/brila-protocol/credit-vaults/credit-vault-tutorial.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.
