1. Import JS file in Code injection, e.g. on our Ghost test env it’s on https://ghost.dev.similar.ai/ghost/#/settings/code-injection

Untitled

Site Header:

<script
src="[<https://code.jquery.com/jquery-3.5.1.min.js>](<https://code.jquery.com/jquery-3.5.1.min.js>)"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
crossorigin="anonymous">
</script>

Site Footer:

<script src="[<https://dev-dot-isentropic-snow-282609.ew.r.appspot.com/api/js-internal-linking/?apikey=2ZPhgwLAHkwI1bUgR6HrBfqc6GbXZpg8>](<https://dev-dot-isentropic-snow-282609.ew.r.appspot.com/api/js-internal-linking/?apikey=2ZPhgwLAHkwI1bUgR6HrBfqc6GbXZpg8>)"></script>
  1. Put the <div> code in the right place on the post template: current/content/themes/source/post.hbs

Untitled

<div id="similarai-relatedSearches"></div>
  1. Then the links will be showed automatically

Untitled

for the endpoint of our production env and your API key, please talk to our onboarding team on set it up.