This React Project demonstrates how to implement a paginated table that loads data retrieved from an API and displays it.
- You must have an active HubSpot account.
- You must have the latest HubSpot CLI installed.
- Run
hs initif you haven't already done so to create a config file for your parent account. - Run
hs authto authenticate your account. Alternatively, select your pre-authenticated account withhs accounts use.
Clone this repository and navigate to the project directory:
git clone https://github.com/HubSpot/ui-extensions-examples.git
cd ui-extensions-examples/data-tableRun hs project install-deps to install the dependencies for this project.
Run hs project upload. If you’d like to build directly from this project, run hs project dev to kickoff the dev process and see changes reflected locally as you build.
In the main menu select Contacts > Contacts to view contact records. Click on any of the contact objects and navigate to the custom tab to access the sample card. If you don’t have any contacts in the account you’re using to view this sample, create a contact by the following steps:
- In the main menu, select
Contacts>Contacts. - Click
Create contactin the top right hand corner and fill in all required fields. Clickcreateonce you’ve finished filling in your contact details. - Your new contact should appear in the
Contacts table. Select it and navigate to theCustomtab in the middle pane to access the sample card.
If you haven't customized the tabs before follow step #4 from this guide to get the card added to your screen.

