# How to accept Bitcoin in Shopify
The following document guides you through setting up BTCPay Server with Shopify (opens new window).
- Shopify account
- BTCPay Server] - self-hosted or run by a third-party host v1.4.8 or later.
- Created BTCPay Server store with wallet set up
# Setting up BTCPay Server with Shopify
- In Shopify, go to Apps > and at the bottom of the page click on the
Develop apps for your store.
- If prompted, click on
Allow custom app development
Create an appand name it
- On the app page, in
Overviewtab, click on the
Configure Admin API scopes
- In the filter admin access scopes type in
write_ordersand then click
- Click on the
Install Appin the top right corner and when pop-up window appears click
Admin API access tokenand
- In your BTCPay Server, go to
Store > Settings > Integrations > Shopify. and click
- In second field,
API Secret Keythe paste the
Admin API access token
- In the first field,
API keypaste the
API keyfrom Shopify.
- In Shopify's
Store Settings > Checkout > Order status page > Additional Scriptspaste the script provided by BTCPay Server on Shopify Integration page (including the opening and closing tag
- In Shopify's
Store Settings > Payments > Manual payment methodsadd
manual payment methodthen click
create custom payment method
Custom payment method namefill in
Bitcoin with BTCPay Server, optionally you can fill in other fields, but it's not required. Note that the name should exactly
Bitcoin with BTCPay Server
Activateand you've set up Shopify and BTCPay Server successfully.
Custom Payment method name must contain at least one of the following words:
btcpay server or
btc to work.
Below are step by step visuals describing the process outlined above.