Community Plugin
View plugin on GitHubGatsby with SugarCRM
This plugin pulls in data using the SugarCRM REST API
Install
yarn add gatsby-source-sugarcrm
ornpm i gatsby-source-sugarcrm
- Make sure plugin is referenced in your
gatsby-config.js
, as seen below gatsby develop
Setup
Sample configuration for gatsby-config.js
plugins: [
{
resolve: `gatsby-source-sugarcrm`,
options: {
endpoint: 'API_ENDPOINT',
configOptions: {
client_id: 'sugar',
client_secret: '',
username: 'SUGAR_USERNAME',
password: 'PASSWORD',
platform: 'base'
},
modules: [
'MODULE_NAME'
]
}
},
],