# Use my application of Square Developer for many main locations

**URL:** <https://developer.squareup.com/forums/t/use-my-application-of-square-developer-for-many-main-locations/21133>\
**Category:** Questions\
**Tags:** orders-api, oauth-api\
**Created:** [February 20, 2025, 12:43pm UTC](https://developer.squareup.com/forums/t/use-my-application-of-square-developer-for-many-main-locations/21133 "2025-02-20T12:43:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonio.jimenez](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@antonio.jimenez](https://developer.squareup.com/forums/u/antonio.jimenez)\
**Post date:** [February 20, 2025, 12:43pm UTC](https://developer.squareup.com/forums/t/use-my-application-of-square-developer-for-many-main-locations/21133/1 "2025-02-20T12:43:40Z")

</div>

Hi, I am starting to get familiar with Square Developer to make an integration with the company I work for.

The final goal is to be able to get the orders from different customers (restaurants, each one will be different independent locations) that use square as POS. The problem is that I have doubts about how to register our APP in the marketplace and how we could access the data of customers who install the APP, as we need an automatic process that does not need confirmation from a third party as with OAuth2.

Testing in Sanbox I have managed to create several independent sandboxes and access them with the access tokens generated for each one, together with the location id.

When a restaurant installs our marketplace app in their panel, will an access token be generated for each one?

Thank you very much.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [February 20, 2025, 12:44pm UTC](https://developer.squareup.com/forums/t/use-my-application-of-square-developer-for-many-main-locations/21133/2 "2025-02-20T12:44:04Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Get Developer Credentials](https://developer.squareup.com/docs/orders-api/quick-start/step-1)**
>
> Get your developer credentials and test account for the Orders API sample application.

[https://developer.squareup.com/docs/oauth-api/walkthrough2](https://developer.squareup.com/docs/oauth-api/walkthrough2)

> **Additional Documentation**
>
> [Square Sandbox](https://developer.squareup.com/docs/devtools/sandbox/overview)  
> [OAuth Walkthrough: Test Authorization with Web Server](https://developer.squareup.com/docs/oauth-api/build-with-oauth)  
> [In-App Payments SDK Quickstart](https://developer.squareup.com/docs/in-app-payments-sdk/quick-start/start)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [February 20, 2025, 7:12pm UTC](https://developer.squareup.com/forums/t/use-my-application-of-square-developer-for-many-main-locations/21133/3 "2025-02-20T19:12:36Z")

</div>

No, an app with credentials won’t automatically be generated. That process of creating sandbox test accounts on your accounts Developer Dashboard is designed to simulate OAuth. You’ll need to build out an OAuth flow so customers can connect to your application. 🙂

---

<div class="post-metadata">

**Author:** ![antonio.jimenez](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@antonio.jimenez](https://developer.squareup.com/forums/u/antonio.jimenez)\
**Post date:** [February 24, 2025, 6:35am UTC](https://developer.squareup.com/forums/t/use-my-application-of-square-developer-for-many-main-locations/21133/4 "2025-02-24T06:35:02Z")

</div>

Thank you for your reply!

So, my only way to connect to Square is through Oauth2? I can’t get a non-expiring access token from the seller to get their orders for example?

My problem is that I need to perform an automatic process and I can’t rely on the confirmation that is needed from a third party in Oauth.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [February 24, 2025, 6:06pm UTC](https://developer.squareup.com/forums/t/use-my-application-of-square-developer-for-many-main-locations/21133/5 "2025-02-24T18:06:39Z")

</div>

OAuth is required for the app marketplace. Once the seller OAuths your application you’ll be the one managing the refreshing of the token. There should be very little action from the seller themselves. 🙂
