# How to setup Umbrel + BTCPAY donation button on your site?

**URL:** <https://community.umbrel.com/t/how-to-setup-umbrel-btcpay-donation-button-on-your-site/1817>\
**Category:** General Discussion\
**Created:** [July 1, 2021, 6:01am UTC](https://community.umbrel.com/t/how-to-setup-umbrel-btcpay-donation-button-on-your-site/1817 "2021-07-01T06:01:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![btc\_ln](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/btc_ln/32/838_2.png) [@btc\_ln](https://community.umbrel.com/u/btc_ln)\
**Post date:** [July 1, 2021, 6:01am UTC](https://community.umbrel.com/t/how-to-setup-umbrel-btcpay-donation-button-on-your-site/1817/1 "2021-07-01T06:01:34Z")

</div>

I managed to setup the BTCPAY and attach it to my Bitcoin and LN node. My problem is the embed code given is referencing my internal IP address which is obviously not going to work online. How do I make this work on my public website?

---

<div class="post-metadata">

**Author:** ![DarthCoin](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/darthcoin/32/1628_2.png) [@DarthCoin](https://community.umbrel.com/u/DarthCoin)\
**Post date:** [July 1, 2021, 3:29pm UTC](https://community.umbrel.com/t/how-to-setup-umbrel-btcpay-donation-button-on-your-site/1817/2 "2021-07-01T15:29:03Z")

</div>

Only by generating / using the onion address of your BTCpay.  
If you open BTCpay site from internal Ip it will generate a QR for internal IP.  
If you open BTCpay from onion address it wil generate a QR “visible” from tor browsing.  
If you open BTCpay from clearnet address it will generate a QR “visible” form clearnet (you will need to make some modifications in your machine for that).  
For setting up a clearnet address for your BTCpay (accessible for larger audience) you will need to adapt this guide for BTCpay

> **[How to configure Umbrel LNbits app without Tor](http://community.umbrel.com/t/guide-lnbits-without-tor/604)**
>
> This is a first-version guide. I’ll happily iterate on it based on feedback, I’m sure I missed something, somewhere. To-Add: Troubleshooting section Improve proxy headers (Current ones are what I found to be functional thus far) Add some...

---

<div class="post-metadata">

**Author:** ![btc\_ln](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/btc_ln/32/838_2.png) [@btc\_ln](https://community.umbrel.com/u/btc_ln)\
**Post date:** [July 1, 2021, 6:51pm UTC](https://community.umbrel.com/t/how-to-setup-umbrel-btcpay-donation-button-on-your-site/1817/3 "2021-07-01T18:51:53Z")

</div>

Thank you! This seems pretty involved.

---

<div class="post-metadata">

**Author:** ![tomes\_is\_very\_cool](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/tomes_is_very_cool/32/2849_2.png) [@tomes\_is\_very\_cool](https://community.umbrel.com/u/tomes_is_very_cool)\
**Post date:** [September 30, 2021, 1:11pm UTC](https://community.umbrel.com/t/how-to-setup-umbrel-btcpay-donation-button-on-your-site/1817/4 "2021-09-30T13:11:58Z")

</div>

Using a Tor link is a quick way to get a BTCpay server button.

First, connect using Tor :

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/8/8433f1295ca0e4282bb1d633473885e9fa4aeb9c.png)

You can find it in the settings :

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/6/6a97181bd5150138c4b0574464995fd184d71316.png)

Then, you go to BTCpay server :

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/2/219447db317f12d7b2538b1283227a5d22b0527b.png)

So, you are connect on BTCpay server by Tor :

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/2/25124f9cb4a2d9916a8948eed731f118a9f13917.png)

And finally you have a Tor adress for the BTCpay button :

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/e/ea33012938f6aca68f0352bc840e44a7832c8642.png)

Thus, users can use it on Tor network !
