> For the complete documentation index, see [llms.txt](https://banana-gun.gitbook.io/banana-pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://banana-gun.gitbook.io/banana-pro/getting-started/wallet-setup.md).

# Wallet Setup

You will need to generate a new wallet or import an existing one to start trading.

### Generate Wallets

Generate your first wallet by selecting **GENERATE WALLET**.&#x20;

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

1. Click **GENERATE WALLET** on the Trade or Trenches pages.
2. If you have previously created a wallet, select **ADD WALLET** in the **WALLETS** widget, then choose **GENERATE WALLET**.
3. Follow the prompts and securely save your private key.
4. Your newly generated wallet will appear in the **WALLETS** widget.

{% hint style="danger" %}
**WARNING:** You will only see your private key once. Save it securely offline!
{% endhint %}

### Import Wallets

Import an existing wallet, such as Phantom, Solflare, or any other wallet that supports private key export.

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

1. Import an existing wallet by selecting **ADD WALLET** in the **WALLETS** widget, then **IMPORT WALLET**.
2. Paste your private key and follow the prompts.&#x20;
3. Your imported wallet will appear in the **WALLETS** widget.

{% hint style="info" %}
**Resource:**&#x20;

* You can find instructions for exporting private keys from Phantom and Solflare in their official documentation: [Phantom](https://help.phantom.app) and [Solflare](https://docs.solflare.com).
* For information on managing your wallets, visit [Wallets.](/banana-pro/banana-pro/wallets.md)
  {% endhint %}


---

# 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://banana-gun.gitbook.io/banana-pro/getting-started/wallet-setup.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.
