---
title: "Square for HBook"
canonical: "https://maestrel-resource-center.refined.site/space/PGD/71926895/Square%20for%20HBook"
format: markdown
---
## 1. Activate Square  as payment gateway

Once you have activated Square  plugin, you need to **validate the licence** in **HBook > Licence**.

![square-licence.png](media://89f722d1-da48-4180-9814-b6b6a7e2e33f)

- Set Square as active payment gateways in **HBook > Payment > Active payment gateways.**

## 2. In HBook, add Square credentials

- You will need to add the following information, in **HBook > Payment > Square settings**.

![square-settings.png](media://f2e3e1f6-cc0c-49aa-807e-bb57b8e06357)

### Where to find the Location ID and Access token?

- You will need to **create an application** in Square Developer dashboard. You can name it for example “HBook Booking system”.
- Sandbox and Live Location ID

![square-location.png](media://cd084cd8-b0d9-48c8-85b9-8edfab9b34bb)

- Sandbox Access token

![square-sandbox-access.png](media://b68667d8-0913-4499-bb04-58bf6e975745)

- Live Access token

![square-live-access.png](media://6948003e-b110-461a-95c8-10dc548f4fc8)

### Which cards to use to test Sandbox environment?

You can find the test card details [here](https://docs.connect.squareup.com/testing/test-values#test-credit-card).