# Square

## Setup Guide

You can create a Square OAuth2 client in the [Square Developer Portal](https://developer.squareup.com/).

You'll need the following information to set up your Square App with KollaConnect:

* Application ID
* Client Secret
* Scopes

### Prerequisites

* Square Developer Account. Sign up at the [Square developer portal](https://developer.squareup.com/).

### Add a Square App and Get OAuth2 Credentials

1. Create a square app
2. Go to OAuth section and change to "Production". Add `https://connect.getkolla.com/oauth` as your redirect url and save. Leave this page open as you will need the values later.<br>

   <figure><img src="/files/gbSIgc02rfIRJXlwIggX" alt=""><figcaption></figcaption></figure>
3. Choose the scopes you will need for your integration: [Square OAuth Scopes List](https://developer.squareup.com/docs/oauth-api/square-permissions)

### Add the Square connector to Kolla


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getkolla.com/kolla/connector-guides/square.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
