# Access Your Bee Node's Wallet / Funds
Steps to import bee node's wallet into metamask to access funds in it
## Step 1. Find your bee node's `swarm.key` file and `password`
The location of `swarm.key` file depends on the type of bee installation and how it is being run:
- [if bee node was started in the background by Swarm Desktop](#For-bee-node-run-by-Swarm-Desktop)
- [if bee node was started as a service (`systemctl` or `launchctl`)](#For-bee-running-as-a-service-Bee-PackageBinaryScript-install)
- [if bee node was started on the terminal using `bee start ...`](#For-bee-nodes-running-in-the-terminal-using-bee-start-)
### For bee node run by Swarm Desktop
Look for the `Data DIR` value in the dashboard. The `swarm.key` should be inside the `keys` folder inside this data directory.

#### MacOS:
Default Locations:
- Key file: `~/Library/Application Support/Swarm Desktop/data-dir/keys/swarm.key`
- Password: `password` value in `~/Library/Application Support/Swarm Desktop/config.yaml`
#### Windows:
Default Locations:
- Key file: `%LOCALAPPDATA%\Swarm Desktop\Data\data-dir\keys\swarm.key`
- eg `C:\Users\USERNAME\AppData\Local\Swarm Desktop\Data\data-dir\keys\swarm.key`
- Password: `password` value in `%LOCALAPPDATA%\Swarm Desktop\Data\config.yaml`
#### Linux:
Default Locations:
- Key file: `~/.local/share/Swarm Desktop/data-dir/keys/swarm.key`
- or `$XDG_DATA_HOME/Swarm Desktop/data-dir/keys/swarm.key`
- Password: `password` value in `~/.local/share/Swarm Desktop/config.yaml`
- or `$XDG_DATA_HOME/Swarm Desktop/config.yaml`
### For bee running as a service (Bee Package/Binary/Script install)
If bee was installed as a package and run as a service by `systemctl` or `launchctl`
Default Locations:
- Key file: `/var/lib/bee/keys/swarm.key`
- Password file: `/var/lib/bee/password`
### For bee nodes running in the terminal (using `bee start ...`)
Location:
- Key file `~/.bee/keys/swarm.key`
- **Password file path** as specified by `--password-file` flag
- or **Password text** as specified by `--password` flag
## Step 2: Rename `swarm.key`
Rename `swarm.key` to `swarm.json`
## Step 3: Import into Metamask
- Open Metamask
- Click the account selector at the top of your wallet.
- Select 'Add account or hardware wallet' at the bottom of the list.
- On the next menu, select 'Import account'.
- On the Import page, expand the dropdown from 'Select Type'.
- Select 'JSON File'.
- Click 'Choose File' and locate the swarm.json file from the previous step.
- Enter the password (from the `password` or `password-file` in your config) that protects your JSON file (not your MetaMask password).

## Step 4: Switch to Gnosis Chain
- On Metamask, got to "Select a Network" and switch to Gnosis
- https://docs.gnosischain.com/tools/wallets/metamask/
- You should see the xDAI balance from your node's wallet
## Step 5: Import `BZZ on xDAI` Token
- Import [BZZ on xDai (BZZ) token](https://docs.ethswarm.org/docs/learn/tokens#xbzz) also referred to as `xBZZ` with contract address: `0xdBF3Ea6F5beE45c02255B2c26a16F300502F68da`
- [BZZ on xDai (BZZ) token contract on Gnosis](https://gnosisscan.io/token/0xdbf3ea6f5bee45c02255b2c26a16f300502f68da)
- [Add / display token in Metamask](https://support.metamask.io/hc/en-us/articles/360015489031-How-to-display-tokens-in-MetaMask)
## Step 6: Access Funds
You will be able to access funds on your bee node's address and move it anywhere you want!