Canning is simple. Gently boil it in salted water, until just ready.
Place in sterilized jars, fill up to top with the boiling water,( place first rubber seal before sterilizing), close lid.
Place jars tightly in a large pan, filled with boiling water ( careful!) then boil for a few minutes. Remove, let cool. Store in a cool dark room.
I do all my jams and preserves like this. Calaloo ( local type of spinach tasting leaves, Okra. Lasts for years!
The biggest risk with canning is that I always burn myself on the boiling water.
What you will have made is exactly like what you buy, but much healthier as there is no metal or plastic inside the jar.
For amount of salt, I like to add a tad more than they recommend.