# Wallet Setup

## You can set up wallets in two ways:

* Create a wallet in Banana Gun.
* Import an existing wallet using a private key.

<figure><img src="/files/AFx3EnS5kFGxA61j0eQa" alt=""><figcaption><p>Wallet Setup Menu</p></figcaption></figure>

{% hint style="info" %}
In addition to creating wallets for regular trading, you can set up transfer wallets for situations where the bot must move your tokens to prevent blacklisting.
{% endhint %}

<table data-header-hidden><thead><tr><th valign="top"></th><th align="center"></th></tr></thead><tbody><tr><td valign="top"><h3>How to Create a New Wallet</h3><ol><li>Select "Wallet Setup."</li><li>Select "Create Wallet."</li><li>Enter a name for your new wallet.</li><li>Save your private key in a secure location. </li></ol><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p><strong>Transfer Wallets:</strong> To create a transfer wallet, select "Transfer Wallet Setup" and repeat the steps above.</p></td><td align="center"><img src="/files/da6DvaIjRjVMn8PhG1lh" alt="" data-size="original"></td></tr></tbody></table>

{% hint style="danger" %}
**Warning:** Banana Gun only shows your private key once. Make sure you save it before deleting the message.

Sharing your private key is the same as handing over your wallet and all your funds. Never share it with anyone!
{% endhint %}

<table data-header-hidden><thead><tr><th valign="top"></th><th align="center"></th></tr></thead><tbody><tr><td valign="top"><h3>How to Import an Existing Wallet</h3><ol><li>Select "Import Wallet."</li><li>Type a name for your new wallet.</li><li>Enter the wallet private key you wish to import from an existing wallet (e.g., MetaMask, Rabby).</li></ol><p></p><p></p><p></p><p></p><p></p><p></p><p><strong>Transfer Wallets:</strong> To import a transfer wallet, select "Transfer Wallet Setup" and repeat the steps above.</p></td><td align="center"><img src="/files/O3rmuzmadwNERcXgKDeB" alt="" data-size="original"></td></tr></tbody></table>

### How to Export Private Keys from MetaMask&#x20;

1. Open your MetaMask wallet.
2. Click the three vertical dots button in the top-right corner of the wallet menu.

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

3. Scroll and click on "Account details."

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

4. Select "Show Private Key."

<figure><img src="/files/6yY7AlJnz6WFsEC0brOj" alt=""><figcaption></figcaption></figure>

5. Enter your password to continue.
6. Copy your private key and follow the instructions in the "How to Import an Existing Wallet" section above.


---

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