Sign in to the Developer Console and create an application
- Sign in to the Square Developer Console and navigate to the apps section.
- Click the + button to create a new application.
- Enter a name for your application, then submit.
- Select the products you wish to integrate with and the audience for the application.
- Click Complete to finish registering your application.
Switch to Sandbox and get your credentials
- At the top of the page, toggle the Sandbox button so you are in Sandbox mode. This ensures you retrieve sandbox client credentials (not production).
- In the Sandbox.Redirect URL section, update your Redirect URL:
https://api.nango.dev/oauth/callback. - Copy your Sandbox.Application ID (Client ID) and Sandbox.Application Secret (Client Secret). You will need these when configuring your integration in Nango.
Next
Follow the Quickstart.
Testing in Sandbox
Square requires you to launch the seller test account from the Developer Dashboard before you can initiate the OAuth flow.- In the Square Developer Console, navigate to Sandbox test accounts.
- Select a test account, or create one if you don’t have one.
- In the modal that appears, click Open in Square Dashboard.
- Once the Sandbox Dashboard is open in the same browser tab, you can initiate the OAuth flow in Nango. Authorize the connection from that tab so the Sandbox session is active.