Skip to main content
All CollectionsPatchesEmbedding Patches
Adding patches to your website

Adding patches to your website

Updated over 5 months ago

Patches can be embedded into any website. Whether you're using a website builder like Squarespace or WordPress, or you're coding something completely custom from scratch, patches can be set up by adding just two lines of code.

The first step is adding Sonikit.js to your website. This code should only appear once per page. If you have multiple patches on the same page, you'll just need Sonikit.js once to load them all.

  1. Navigate to the patch you'd like to add to your website

  2. In the patch's navigation bar click the "Code" tab

  3. Copy the Sonikit.js code and paste it before the last </body> tag of your website. If you're using Squarespace, see this article for details.

  4. Copy the patch's embed code and paste it wherever you'd like it to appear on your website

Did this answer your question?