> For the complete documentation index, see [llms.txt](https://docs.leather.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.leather.io/settings-and-customization/add-network.md).

# Add Network

Add a custom network to the Leather extension, for example a local devnet or your own API servers.

Add a custom network to connect Leather to your own Stacks and Bitcoin API servers, for example a local devnet.

## Add a network

1. Click the settings icon in the header and select "Settings".
2. Select "Network".
3. Click "Add network".
4. Fill in the form:
   * **Name:** any name you want to see in the network list.
   * **Bitcoin API:** pick a preset to fill in both URLs, or enter your own. The dropdown reads "Custom" once a URL differs from the preset.
   * **Bitcoin API URL** and the **Stacks API URL**.
   * **Network key:** a unique key for this network. You cannot change it later.
5. Click "Add network".

Leather checks both servers before it saves the network. If one does not answer, it shows "Unable to fetch mempool from bitcoin node" or "Unable to fetch info from stacks node".

## Edit or delete a network

In the network list, open the menu of a custom network and select "Edit" or "Delete". If you delete the network you are using, Leather switches to mainnet. Networks that a vault account uses cannot be edited or deleted.

## Related

* [Change Network](/settings-and-customization/change-network.md)
* [Obtain STX Tokens For Testnet](/stacking/obtain-testnet-stx.md)
