Loads job openings from smartrecruiters.com into Gatsby.js. Based on gatsby-source-greenhouse.
npm install gatsby-source-smartrecruiters
or
yarn add gatsby-source-smartrecruiters
Edit gatsby-config.js
to use the plugin:
{
...
plugins: [
...
{
resolve: `gatsby-source-smartrecruiters`,
options: {
companyIdentifier: `{COMPANY_IDENTIFIER}`,
fetchDetailed: true,
},
},
]
}
When the option fetchDetailed
is set to true
, the plugin will resolve and fetch the detailed job postings individually, which include the application link and contents of the job ad.
You can query the all JobPost
created by the plugin as follows:
{
allSmartRecruitersJobPost {
edges {
node {
...
}
}
}
}
You can also query all JobPost
broken out for each department:
{
allSmartRecruitersDepartment {
edges {
node {
name
childrenSmartRecruitersJobPost {
title
}
}
}
}
}