# HubStaff Integration {#hubstaff-integration}


Import HubStaff time tracking data, activities, and screenshots.


## Features {#features}


- **Organization import** — sync HubStaff organizations
- **Project import** — import projects and tasks
- **Time log import** — sync tracked hours
- **Activity import** — keyboard/mouse activity data
- **Screenshot import** — import HubStaff screenshots


## Setup {#setup}


```bash
HUBSTAFF_CLIENT_ID=your-client-id
HUBSTAFF_CLIENT_SECRET=your-client-secret
HUBSTAFF_REDIRECT_URL=https://api.yourdomain.com/api/integration/hubstaff/callback
```


### Authorization {#authorization}


1. Navigate to **Settings → Integrations → HubStaff**
2. Click **Connect to HubStaff**
3. Authorize via OAuth
4. Select organizations and projects to sync


## Sync Operations {#sync-operations}


| Data          | Direction | Mapping              |
| ------------- | :-------: | -------------------- |
| Organizations |  Import   | → Organization       |
| Projects      |  Import   | → Project            |
| Activities    |  Import   | → TimeLog + TimeSlot |
| Screenshots   |  Import   | → Screenshot         |
| Members       |  Import   | → Employee           |


## Related Pages {#related-pages}


- [Integrations Overview](https://sourcey-gauzy.pages.dev/integrations/integrations-overview/index.md)
- [Time Tracking](https://sourcey-gauzy.pages.dev/features/time-tracking/index.md)
