> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Greenhouse (Onboarding API)

> Access the Greenhouse Onboarding API in 2 minutes 💨

<Tabs>
  <Tab title="🚀 Quickstart">
    <Steps>
      <Step title="Create an integration">
        In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Greenhouse (Onboarding API)*.
      </Step>

      <Step title="Authorize Greenhouse">
        Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then enter your Greenhouse Onboarding credentials. Later, you'll let your users do the same directly from your app.
      </Step>

      <Step title="Call the Greenhouse Onboarding API">
        Let's make your first request to the Greenhouse Onboarding API (fetch a list of locations). Replace the placeholders below with your [secret key](https://app.nango.dev/dev/environment-settings), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

        <Tabs>
          <Tab title="cURL">
            ```bash theme={null}
            curl -X POST "https://api.nango.dev/proxy/graphql" \
              -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
              -H "Provider-Config-Key: <INTEGRATION-ID>" \
              -H "Connection-Id: <CONNECTION-ID>" \
              -H "Content-Type: application/json" \
              -d '{
                "query": "query { locations(first: 10) { pageInfo { hasNextPage endCursor } edges { node { id name address externalId } } } }"
              }'
            ```
          </Tab>

          <Tab title="Node">
            Install Nango's backend SDK with `npm i @nangohq/node`. Then run:

            ```typescript theme={null}
            import { Nango } from '@nangohq/node';

            const nango = new Nango({ secretKey: '<NANGO-SECRET-KEY>' });

            const res = await nango.post({
              endpoint: '/graphql',
              providerConfigKey: '<PROVIDER-CONFIG-KEY>',
              connectionId: '<CONNECTION-ID>',
              data: {
                query: `query { locations(first: 10) { pageInfo { hasNextPage endCursor } edges { node { id name address externalId } } } }`
              }
            });

            console.log(JSON.stringify(res.data, null, 2));
            ```
          </Tab>
        </Tabs>

        Or fetch credentials dynamically via the [Node SDK](/reference/sdks/node#get-a-connection-with-credentials) or [API](/reference/api/connection/get).
      </Step>
    </Steps>

    ✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.

    <Tip>
      Next step: [Embed the auth flow](/guides/primitives/auth) in your app to let your users connect their Greenhouse accounts.
    </Tip>
  </Tab>

  <Tab title="🔗 Useful links">
    | Topic         | Links                                                                                                             |
    | ------------- | ----------------------------------------------------------------------------------------------------------------- |
    | Authorization | [Guide to connect to Greenhouse Onboarding API using Connect UI](/integrations/all/greenhouse-onboarding/connect) |
    | General       | [Greenhouse Website](https://www.greenhouse.io/)                                                                  |
    |               | [Greenhouse Dashboard](https://app.greenhouse.io/)                                                                |
    | Developer     | [Authentication docs](https://developers.greenhouse.io/gho.html#authentication)                                   |
    |               | [Onboarding API Docs](https://developers.greenhouse.io/gho.html#introduction)                                     |
    |               | [Rate Limiting](https://developers.greenhouse.io/gho.html#rate-limiting)                                          |

    <Note>Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/greenhouse-onboarding.mdx)</Note>
  </Tab>

  <Tab title="🚨 API gotchas">
    *None yet, add yours!*

    <Note>Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/greenhouse-onboarding.mdx)</Note>
  </Tab>
</Tabs>

<Info>
  Questions? Join us in the [Slack community](https://nango.dev/slack).
</Info>
