> For the complete documentation index, see [llms.txt](https://docs.datafetch.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datafetch.io/data-source-types/hubspot/creating-a-hubspot-search.md).

# Creating a HubSpot Search

## Prerequisites

You have added HubSpot as a Data Source.&#x20;

## Creating a new Search Object

1. Click **Add** to create a new **Search**.&#x20;
2. Select an **Object**. You can either type the Object in the search box or select it from the dropdown menu. \
   \
   For instance, we are going to create a new contact search. By selecting **Contacts** as the Object type, all searchable fields of the Contact object will be made available. <br>
3. By default, some fields (i.e. last name, first name, email) have been pre-selected. You can select any field from the **Available** list and click![](https://lh4.googleusercontent.com/IjZ0QdlVUBnCDKk5L9siMYzaxWOU6RU6YHnVTZEQJC2Je76v_no-mwbQJlDJ2UKkBxGhpTgHHfVQrjLlJjoq892lS6KKkRQdBatvI24NNxhxb7BU5e7eCXWDWy5BMjTWe9077XXoTDozLRMm7TeWjoZrg3zCDZXhfnFVFy5Zw-v0JEei4Zr8nC0OmA)to add and make them searchable. You can use these fields when executing a search in Slack. \
   \
   For instance, you can search for a contact in HubSpot using a contact’s last name as a keyword. <br>
4. Click **Save**. You will be redirected to the **DataFetch** web interface and the new search object will be displayed. You can click <img src="/files/VI8tg8gO3dtNEStUkuSy" alt="" data-size="line">to edit the search object that you have created.
