Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-source-greenhouse

Loads job openings from greenhouse.io into Gatsby.js.

Status

npm version

Installation

npm install gatsby-source-greenhouse

or

yarn add gatsby-source-greenhouse

Usage

To use this source you only need the name of a public Greenhouse board. Usually, the board name is the name of your company.

Next, edit gatsby-config.js to use the plugin:

{
  ...
  plugins: [
    ...
    {
      resolve: `gatsby-source-greenhouse`,
      options: {
        boardName: 'myCompany',
      },
    },
  ]
}

Querying

You can query all GreenhouseJobPosts created by the plugin as follows:

{
  allGreenhouseJobPost {
    edges {
      node {
        id
        title
        updated_at
        absolute_url
      }
    }
  }
}
© 2023 Gatsby, Inc.