> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# HourSquare - How do I link my account?

## Overview

To authenticate with HourSquare, you need:

1. **Client ID** and **Client secret** — the two parts of a company API key created in the HourSquare Hub.

This guide will show you how to get them.

### Prerequisites

* An HourSquare administrator account with the **Manage API keys** permission. The account creator has it.

### Step 1: Create an API key

1. Log in to the [HourSquare Hub](https://hub.hoursquare.com/).
2. Open **Settings** in the left menu, then click **Sign-in & integrations**.

![HourSquare Hub Settings page with Sign-in & integrations highlighted](https://mintcdn.com/nango/mXDxC1lK1wo2JSRK/api-integrations/hoursquare/settings_integrations_entry.png?fit=max\&auto=format\&n=mXDxC1lK1wo2JSRK\&q=85\&s=c20b661d49bc1347f65cb8dce3f9468f)

3. Under **For developers**, click **Set up** next to **API keys**, then click **Create key**.

![HourSquare API keys panel with the Create key button](https://mintcdn.com/nango/mXDxC1lK1wo2JSRK/api-integrations/hoursquare/api_keys_create.png?fit=max\&auto=format\&n=mXDxC1lK1wo2JSRK\&q=85\&s=666cf6405c7c658dd202d4a317cc80fd)

4. Enter a name for the key, tick only the scopes your integration needs (for example **Read employees**), optionally choose an expiry, then click **Create key**.

![HourSquare Create API key dialog with name, scopes and expiry fields](https://mintcdn.com/nango/mXDxC1lK1wo2JSRK/api-integrations/hoursquare/create_api_key_dialog.png?fit=max\&auto=format\&n=mXDxC1lK1wo2JSRK\&q=85\&s=8d7c09b1073ed2e557bdf29254db36b2)

5. Copy the key value: this is your **Client secret** (it starts with `hsq_`). The key ID shown with it (`hsq_` followed by 8 characters) is your **Client ID**, and it stays visible in the key list.

![HourSquare Copy your new key dialog with the Copy button](https://mintcdn.com/nango/mXDxC1lK1wo2JSRK/api-integrations/hoursquare/copy_new_key.png?fit=max\&auto=format\&n=mXDxC1lK1wo2JSRK\&q=85\&s=4d35850328cf5fa2285af3891345e0e9)

> [!NOTE]
>
> HourSquare shows the key value only once. Save it somewhere secure before closing the dialog. If you lose it, rotate the key.

### Step 2: Enter your credentials in the Connect UI

1. Open the form where you need to authenticate with HourSquare.
2. Enter your **Client ID** and **Client secret**.
3. Submit the form. Nango requests an access token with them, so a wrong, expired or revoked key is rejected here.

![Nango Connect UI form with Client ID and Client secret fields](https://mintcdn.com/nango/mXDxC1lK1wo2JSRK/api-integrations/hoursquare/form.png?fit=max\&auto=format\&n=mXDxC1lK1wo2JSRK\&q=85\&s=a65959bb85cdc459a2a23055cfc0cc8d)

You are now connected to HourSquare.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.