# Greenhouse

The Greenhouse is an applicant tracking system and recruiting application that helps organizations find suitable candidates, conduct effective interviews, and make hiring decisions more efficiently.

**Greenhouse APIs and Schemas:**

**Harvest API** is used to export recruitment information about candidates, jobs, and organizations to access candidate, job, and interview data and perform the following actions:&#x20;

* Update candidate information.&#x20;
* Add attachments to candidate profiles.&#x20;
* Accept or Reject candidate profiles.

**Candidate API** is an API under Harvest that retrieves the candidate details such as Email IDs, Employment Details, and Education Details.

**Business Intelligence Connector (BIC)** schema consists of a candidate's recruitment and onboarding data.

OvalEdge uses the Greenhouse **REST API** to connect to the data source and allows you to Crawl, Profile data objects (Schemas, Tables, Table Columns, etc.), and build Relationships.

**Connector Capabilities**

<figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Architecture%20Diagram/Greenhouse-1.png?width=688&#x26;height=305&#x26;name=Greenhouse-1.png" alt=""><figcaption></figcaption></figure>

| **Functionality** | **Supported Data Objects**                                                                                                                                                                                                  |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Crawler           | Schemas, Tables, Columns, Relationships                                                                                                                                                                                     |
| Profiler          | <p>Table Profiling: Row count, Columns count, and View sample data<br>View Profiling: Row count,   Columns count, View sample data<br>Column Profiling: Min, Max, Null count, distinct, top 50 values<br>Full Profiling</p> |

#### Prerequisites

The following are the prerequisites required for establishing a connection between the connector and the OvalEdge application.&#x20;

1. Set up API Key.&#x20;
2. Set up a Service account with proper permissions to the Rest APIs of Greenhouse.
3. Configure environment variables (Optional).

**Set up API Key**

&#x20;OvalEdge uses REST API to connect to Greenhouse.

| **API**  | **Version**                               | **Details**                                                             |
| -------- | ----------------------------------------- | ----------------------------------------------------------------------- |
| REST API | Okhttp client's Latest version is 4.10.0. | <https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp/4.10.0> |

{% hint style="info" %}
**Note:** The API key must be generated from Greenhouse and entered into the configuration setting in OE for the connector to be successful. For generating the key in Greenhouse, refer to the Section How to Generate API Key.
{% endhint %}

**Service Account with Minimum Permissions**

The following are the minimum privileges required for a service account to crawl and profile the data.

| **Operation**         | **Minimum Access Permission**                                |
| --------------------- | ------------------------------------------------------------ |
| Connection Validation | GET request access for Candidate API                         |
| Crawling              | Read access to API Key, which was created under Harvest API. |
| Profiling             | Read access to API Key, which was created under Harvest API. |

**Establish Environment Variables (Optional)**

This section describes the settings or instructions that you should be aware of prior to establishing a connection. If your environments have been configured, skip this step.

**Configure Environment Names**

The Environment Names allow you to select the environment configured for the specific connector from the dropdown list in the **Add Connector** pop-up window.\
You might want to consider crawling the same schema in both stage and production environments for consistency. The typical environments for crawling are PROD, STG, or Temporary, and may also include QA or other environments. Additionally, crawling a temporary environment can be useful for schema comparisons, which can later be deleted, especially during application upgrade assistance.&#x20;

**Steps to Configure the Environment**

1. Navigate to Administration | Configuration.&#x20;
2. Select the Connector tab.
3. Find the Key name “connector.environment”.
4. Enter the desired environment values (PROD, STG) in the value column.&#x20;
5. Click ✔ to save.&#x20;

#### Establish a connection

To establish the connection, complete the following steps:

1. Log into the OvalEdge application.
2. In the left menu, navigate to the **Administration** module, and click on **Connectors**.
3. Click on the **+** icon (New Connector), the **Add Connector** pop-up is displayed.
4. Search/Click on the desired connector and the Add Connector pop-up with the connector details is displayed.

![Greenhouse\_mngpopup](https://support.ovaledge.com/hs-fs/hubfs/Architecture%20Diagram/6.1ConnectorImages/Greenhouse_mngpopup.png?width=688\&height=475\&name=Greenhouse_mngpopup.png)

| **Fields**                 | **Details**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                 |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- |
| Connection Type\*          | <p>The selected connection type ‘Greenhouse’ is displayed by default. </p><p>If required, the dropdown menu allows you to change the connector type and based on the selection of the connection type, the fields associated with the selected connection type are displayed.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                 |
| License Add-Ons\*          | <p>All the connectors will have a <strong>Base Connector</strong> License by default that allows you to crawl and profile to obtain the metadata and statistical information from a datasource. </p><p>OvalEdge supports various License <strong>Add-Ons</strong>, based on the connector’s functionality requirements.</p><ul><li>Select the <strong>Auto Lineage Add-On</strong> license that enables the automatic construction of the Lineage of data objects for a connector with the Lineage feature. </li><li>Select the <strong>Data Quality Add-On</strong> license to identify, report, and resolve the data quality issues for a connector whose data supports data quality, using DQ Rules/functions, Anomaly detection, Reports, and more.</li><li>Select the <strong>Data Access Add-On</strong> license that will enforce connector access via OvalEdge with Remote Data Access Management (RDAM) feature enabled</li></ul>                                                                                                      |                                 |
| Connection Name\*          | Enter a Connection name for Greenhouse. You can specify a connection name to identify the Greenhouse connection in OvalEdge. Example: Greenhouse\_db                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                 |
| Environment\*              | <p>The environment dropdown menu allows you to select the environment configured for the connector from the dropdown list. For example, PROD, or STG (based on the configured items in the OvalEdge configuration for the connector. environment).</p><p>The purpose of the environment field is to help you identify which connector is connecting what type of system environment (Production, STG, or QA).</p><p><strong>Note:</strong> The steps to set up environment variables in explained in the prerequisite section.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                 |
| Server\*                   | This is the hostname or IP address of the Harvest API endpoints. The base URL for the Harvest API is "<https://harvest.greenhouse.io/v1>", and you can append the specific endpoint path to this base URL to access the desired endpoint.  <https://harvest.greenhouse.io/v1>/candidates                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                 |
| API Key                    | Enter the API Key generated in your API Prerequisite steps.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                 |
| Schema Crawl               | <p>You can select <strong>Schema Crawl</strong> from the dropdown menu below, Greenhouse supports two schemas to crawl. </p><p><strong>Harvest API:</strong> The purpose of Harvest API is to fetch recruitment details such as Candidate, Job, and Organization information.</p><p><strong>Business Intelligence Connector (BIC):</strong> The purpose of the BIC connector that contains the recruiting and onboarding data for analysis and reporting. </p><p>Note: To crawl both the API and the BIC in Greenhouse, you will need to set up two separate connectors.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                 |
| Default Governance Roles\* | <p>You can select a specific user or a  team from the governance roles (Steward, Custodian, Owner) that get assigned for managing the data asset. </p><p>Note: The dropdown list displays all the configurable roles (single user or a team) as per the configurations made in the OvalEdge Security                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Governance Roles section.  </p> |
| Admin Roles                | <p>Select the required admin roles for this connector.</p><ul><li>To add <strong>Integration Admin</strong> Roles, search for or select one or more roles from the Integration Admin options, and then click on the Apply button. <br>The responsibility of the Integration Admin includes configuring crawling and profiling settings for the connector, as well as deleting connectors, schemas, or data objects.</li><li><p>To add <strong>Security and Governance Admin</strong> roles, search for or select one or more roles from the list, and then click on the Apply button. <br>The security and Governance Admin is responsible for:</p><ul><li>Configure role permissions for the connector and its associated data objects.</li><li>Add admins to set permissions for roles on the connector and its associated data objects.</li><li>Update governance roles.</li><li>Create custom fields.</li><li>Develop Service Request templates for the connector.</li><li>Create Approval workflows for the templates.</li></ul></li></ul> |                                 |
| Select Bridge              | <p>With the OvalEdge Bridge component, any cloud-hosted server can connect with any on-premise or public cloud data sources without modifying firewall rules. A bridge provides real-time control that makes it easy to manage data movement between any source and destination. </p><p>For more information, refer to <a href="https://support.ovaledge.com/bridge-overview">Bridge Overview</a></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                                 |

\
5\. Click on the **Validate** button to validate the connection details.

6\. Click on the **Save** button to save the connection.  Alternatively, you can also directly click on the button that displays the Connection Settings pop-up window to configure the settings for the selected Connector. The **Save & Configure** button is displayed only for the Connectors for which the settings configuration is required.&#x20;

{% hint style="info" %}
**Note:** \* (asterisk) indicates the mandatory field required to create a connection. Once the connection is validated and saved, it will be displayed on the Connectors home page. \
**Note:** It is up to your wish to save the connection details first and then validate them, or to validate the connection first and then save it.
{% endhint %}

**Connection Validation Errors**&#x20;

| **S.No** | **Error Message(s)**                                           | **Description**                                                       |
| -------- | -------------------------------------------------------------- | --------------------------------------------------------------------- |
| 1        | Failed to establish a connection, please check the credentials | Invalid API Key. Enter the API Key which has access to Candidate API. |

If you have any issues creating a connection, please contact your assigned OvalEdge Customer Success Management (CSM) team.

#### **Connector Settings**&#x20;

Once the connection is validated successfully, various settings are provided to retrieve and display the information from the data source. The connection settings include Crawler, Profiler, Access Instruction, and Others.

| **Connection Settings**            | **Description**                                                                                                                                                                                                                                                                                                                                                                      |
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Crawler                            | <p>The Crawler setting allows you to set the crawling configuration that will collect the metadata and display it in the data catalog. <br>Crawler Settings include:<br>(i) Crawler Options<br>      Tables, Views & Columns<br>      Relationship<br>(ii) Crawler Rules</p>                                                                                                         |
| <p>Profiler</p><p><br><br><br></p> | <p>Data profiling typically involves collecting statistics about data sources such as:  </p><ul><li>Minimum value</li><li>Maximum value</li><li>Top 50 values</li><li>Distinct count</li><li>Null count</li></ul>                                                                                                                                                                    |
| Access Instruction                 | Access Instruction allows the data owner to instruct others on using the objects in the application.                                                                                                                                                                                                                                                                                 |
| Business Glossary                  | The Business Glossary setting provides flexibility and control over how they view and manage term association within the context of a business glossary at the connector level.                                                                                                                                                                                                      |
| Others                             | <p>The Send Metadata Changes Notifications option is used to set the change notification about the metadata changes of the data objects.</p><ul><li>You can use the toggle button to set the Default Governance Roles (Steward, Owner Custodian, etc.) </li><li>From the drop-down menu, you can select the role and team to receive the notification of metadata changes.</li></ul> |

{% hint style="info" %}
**Note:** For more information, refer to the [Connector Settings](https://support.ovaledge.com/connector-settings).
{% endhint %}

#### **The Crawling of Schema(s)**

You can use the **Crawl/Profile** option, which allows you to select the specific schemas that need to be crawled, profiled, or unprofiled. For any scheduled crawlers and profilers, the defined run date and time are displayed to set.

* Navigate to Administrator | Connectors, select the radio button for the particular schema, and click on **Crawl/Profile** option.&#x20;
* It allows you to select the specific schemas *(Harvest API* or *Business Intelligence Connector*) for the following operations: crawl, profile, crawl & profile, and profile unprofiled. These operations can also be scheduled, as per your need. &#x20;
* Click on the **Run** button that gathers all metadata from the connected source into OvalEdge Data Catalog.

{% hint style="info" %}
**Note:** For more information on Scheduling, refer to [Scheduling Connector](https://support.ovaledge.com/how-to-schedule-connectors)
{% endhint %}

#### **Additional Information**&#x20;

**How to generate API Keys**

Follow the steps below to generate an API Key that will configure OvalEdge to crawl the schemas (Harvest and Business Intelligence Connector).&#x20;

Please note that the API key generated once is sufficient for any API used in the Greenhouse schema

* Log into the Greenhouse connector.
* Click the Settings option.<br>

  <figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Architecture%20Diagram/6.1ConnectorImages/Greenhouse/1Gh_dashboard.png?width=688&#x26;height=322&#x26;name=1Gh_dashboard.png" alt=""><figcaption></figcaption></figure>
* Click Dev Center and then click API Credential Management.<br>

  <figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Architecture%20Diagram/6.1ConnectorImages/Greenhouse/2Gh_configure.png?width=688&#x26;height=536&#x26;name=2Gh_configure.png" alt=""><figcaption></figcaption></figure>
* Click Create New API Key.<br>

  <figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Architecture%20Diagram/6.1ConnectorImages/Greenhouse/3Gh_harvestapi.png?width=688&#x26;height=221&#x26;name=3Gh_harvestapi.png" alt=""><figcaption></figcaption></figure>
* In the Create new credential window, enter a Description for the API key.
* In the API Type drop-down menu, select Harvest, and then click Manage Permissions. API Types are two types - Harvest and Business Intelligence Connector.<br>

  <figure><img src="https://support.ovaledge.com/hs-fs/hubfs/Architecture%20Diagram/6.1ConnectorImages/Greenhouse/4Gh_apikey.png?width=688&#x26;height=394&#x26;name=4Gh_apikey.png" alt=""><figcaption></figcaption></figure>
* Click Copy to make a note of the API Key.&#x20;
* Click Close.
