Third Party Integrations
Jackfish comes with a number of pre-integrated 3rd party systems. This is how you set up and use them.
- Email - used for CMS password resets, or if you have
Email
Email is necessary when deploying a Jackfish instance to production to facilitate password resets by administrators.
It's simple to setup just do a thing
It uses mailgun via nodemailer. But you can change this if you like.
Sentry
Sentry is pre-integrated throughout the project.
You need to set the Sentry DSN and it will automatically push context-rich error events to Sentry when the core experiences an error.
Remember!
To utilise Sentry in your application code, you must ensure you use "error first" calling of the logger, like so:
const error = new Error(`API status ${req.statusCode}`)
serviceLocator.logger.error(error, 'External API call failed')
Sentry has the following additional metadata depending on the location of the error:
- Tag "admin", "api", etc