> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/g/greenhouse.md).

# Greenhouse

Greenhouse is a recruiting platform. OctoXLabs reads the Greenhouse Harvest API and adds the Greenhouse users to the user inventory.

## Use cases

* Find Greenhouse users that have site administrator rights.

```
Adapters = greenhouse AND AdminStatus = true
```

* Review recently created Greenhouse accounts.

```
Adapters = greenhouse AND CreatedTime last now-30d/d
```

## Before you begin

### Network

| Source              | Destination                                                 | Port | Protocol |
| ------------------- | ----------------------------------------------------------- | ---- | -------- |
| OctoXLabs connector | Greenhouse Harvest API (`harvest.greenhouse.io` by default) | 443  | HTTPS    |

### Required permissions

| Scope or role            | Permission | Needed for |
| ------------------------ | ---------- | ---------- |
| Permission to read users | Read       | Users      |

The vendor instruction only states that the account must be allowed to read users. The exact Greenhouse permission name is not verified.

## Create credentials in Greenhouse

{% stepper %}
{% step %}

### Choose the account

Use a Greenhouse account (or API credential) that OctoXLabs will authenticate with.
{% endstep %}

{% step %}

### Grant read access to users

Make sure the account has at least a permission that allows reading users.
{% endstep %}

{% step %}

### Note the host

The default host is `harvest.greenhouse.io`. Change it only if your Harvest API is served from another host.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter  | Required | Type    | Default                 | Description                                                                                  |
| ---------- | -------- | ------- | ----------------------- | -------------------------------------------------------------------------------------------- |
| Domain     | Yes      | Text    | `harvest.greenhouse.io` | Host name of the Greenhouse API. Enter the host name without `https://`.                     |
| Username   | Yes      | Text    | None                    | Username used for basic authentication.                                                      |
| Password   | Yes      | Text    | None                    | Password of the username.                                                                    |
| Is Secure? | No       | Boolean | `true`                  | Shown in the form. The connector always builds `https://` URLs and does not read this value. |
| Timeout    | No       | Integer | `30`                    | Seconds to wait for API responses during discovery.                                          |

## Troubleshooting

| Error message | Cause                                                               | Fix                                                  |
| ------------- | ------------------------------------------------------------------- | ---------------------------------------------------- |
| Not verified  | The connector code does not define adapter specific error messages. | Run the connection test and check the connector log. |

## Change history
