# Configure HubSpot Integration

{% hint style="info" %}
Please make sure you are connected to HubSpot. Otherwise, head to [Getting Started](/atlassian-cloud/scrybe-external-data-objects-and-query-for-jira/administrator-guide/getting-started.md)
{% endhint %}

### Object Views Configuration

This section lists the details for configuring object views.

Step by step guide:

1. Click on add object view<br>

   <figure><img src="/files/jtLhb686z6VLz4EmpPG9" alt=""><figcaption></figcaption></figure>

2. In the dialog, the **Title of view** will be used as the tab name in the Jira issue panel. You can configure multiple tabs, allowing you to display different objects within the same Jira issue.\
   \
   \- Select the HubSpot object you want to use as the main object. \
   \- You can configure which fields will appear in the table view. \
   \- You can also specify which user groups are allowed to access the tab.<br>

   <div align="left"><figure><img src="/files/4wejhrGfFtbLpQ8OXCtu" alt="" width="375"><figcaption><p>Edit dialog for HubSpot object view</p></figcaption></figure></div>

   <figure><img src="/files/pHdAeYtxaRYB8dV3Ozjf" alt=""><figcaption><p>HubSpot object view in JIRA issue</p></figcaption></figure>

3. Click **Save** once you are done.

### Search Views Configuration

This section lists the details for configuring query views.

Step by step guide:

1. Click on add query view.<br>

   <figure><img src="/files/LKWmcbFVIbF7LBp0gY1r" alt=""><figcaption></figcaption></figure>

2. In the dialog, the **Title of view** will be used as the tab name in the Jira issue panel. You can configure multiple tabs, allowing you to display different queries within the same Jira issue.<br>

   <div align="left"><figure><img src="/files/XtEkPVNUmfWb0ou446aK" alt="" width="375"><figcaption><p>Edit dialog for HubSpot search view</p></figcaption></figure></div>

3. In the search body section, you can enter the parameters you want to search with:
   1. **Search body with no variables**\
      Search body with fixed values.\
      Exampl&#x65;*:*&#x20;

      ```
      {
          "filterGroups": [
              {
                  "filters": [
                      {
                          "propertyName": "firstname",
                          "operator": "EQ",
                          "value": "Brian"
                      }
                  ]
              }
          ]
      }
      ```
   2. **Search body with issue variables**\
      You can reference values from the Jira issue (e.g., reporter's email) to make the search dynamic.\
      Example:

      ```
      {
          "filterGroups": [
              {
                  "filters": [
                      {
                          "propertyName": "email",
                          "operator": "EQ",
                          "value": "{{issue.reporter.emailAddress}}"
                      }
                  ]
              }
          ]
      }
      ```

      With this, the query will automatically run using the issue reporter’s email.
   3. **Search body with query variables**\
      These search bodies require the user to input values directly in the Jira issue. Once entered, the values are saved and will be used automatically the next time the tab is loaded.\
      Example:

      ```
      {
          "filterGroups": [
              {
                  "filters": [
                      {
                          "propertyName": "email",
                          "operator": "EQ",
                          "value": "{{EmailAddress}}"
                      }
                  ]
              }
          ]
      }
      ```

      You can then provide the variable value within the Jira issue.<br>

      <div align="left"><figure><img src="/files/XhlSEPTLUrg9RGkEuViE" alt="" width="563"><figcaption><p>HubSpot search view in JIRA issue</p></figcaption></figure></div>

4. You can also specify which user groups are allowed to access the tab (optional).

5. Click **Preview** to verify that the query runs successfully. Once everything looks correct, click **Save**.

\
**Additional Resources**

If you need further assistance, don’t hesitate to contact our support team at **<support@upsmith.app>**. We’re always happy to help!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.upsmith.app/atlassian-cloud/scrybe-external-data-objects-and-query-for-jira/administrator-guide/configure-hubspot-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
