> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-square-payment-gateway-extension/configure-magento-with-square-production-mode.md).

# Configure Magento with Square - Production Mode

Go to the Square App you have created from your Square Account. Select Production from the top and then select OAuth from the left sidebar.

You will get a Production Application ID and Production Access Token.

![Square Application ID and Access Token Production Mode](https://magecomp.com/support/wp-content/uploads/2023/05/Square-Application-ID-and-Access-Token-Production-Mode.png)

Now head on to your Magento store admin. Go to Stores > Configuration. Under the MageComp tab, select the Squareup tab. Expand the General Configuration option.

![General Configuration Production Mode](https://magecomp.com/support/wp-content/uploads/2023/05/General-Configuration-Production-Mode.png)

* Application Mode – Select the Production option when you are ready to allow customers to make payments through Square.
* Production Application ID – Copy the Production Application ID from the Square account and paste it here.
* Production Access Token – Copy the Production Access Token from the Square account and paste it here.

Click on the Save Config button.

Now, expand the Oauth Configuration option.

![Oauth Configuration Production Mode](https://magecomp.com/support/wp-content/uploads/2023/05/Oauth-Configuration-Production-Mode.png)

* Redirect Url – Copy the Redirect Url from here and paste it to your Square app as shown below and click on Save.

![Production Redirection URL](https://magecomp.com/support/wp-content/uploads/2023/05/Production-Redirection-URL.png)

* Get OAuth Token – Click on the Get OAuth Token button.

A popup will appear for Square login. Enter Square login details and click Sign in.

![Square login popup](https://magecomp.com/support/wp-content/uploads/2023/05/Square-login-popup.png)

Now select the location and click Save.

![Select location](https://magecomp.com/support/wp-content/uploads/2023/05/Select-location.png)

* Production Location – The location will automatically appear here once you save the location in Square.

Again hit the Save Config button to apply your configuration settings.
