I finally found out how to do this.
How to install Algolia on your Gatsby blog. An easy step by step guide created by a beginner.
I wanted to know how to use gatsby-image to optimize a friend's portfolio and so I decided to remake it using Gatsby.