Blog post

Adding comments to Gatsby in 2019

by Alex on 7/30/2019, 2:00:00 PM

Hey! 👋

It's 2019 and JustComments has an official plugin for Gatbsy so that integrating JustComments is very easy. You can find the official plugin page by the following URL https://www.gatsbyjs.org/packages/gatsby-plugin-just-comments/ and below you will find a short step-by-step guide:

  1. Create an account at JustComments.
  2. Log in to your account, configure the account to your liking and create an API key. You will need the API key to configure the plugin.
  3. Run npm install gatsby-plugin-just-comments --save-dev in your Gatsby project.
  4. Add the following lines where you want to place the comments:
import JustComments from 'gatsby-plugin-just-comments';

<JustComments
  apikey="YOUR API KEY"
/>
  1. Define configuration options as attributes next to the apikey without using the data- prefix.

Now you have a comment system on your Gatsby site!

follow: blog | twitter | github | indiehackers


Are you ready to get started?
  • Learn about our pricing.
  • Every new account gets 100 000 free credits for a trial period. No credit card required.
  • Creation of comments and storage of comments is for free.