Integrating Agility Search

Follow

The Agility Search API is a JSON REST API with only a few methods to learn.

You first need to get the embed code from the Agility Search Dashboard by clicking "GENERATE" on the Generate Embed Script section.

<script src="https://search.agilitycms.com/scripts/agility-search.min.js"></script>
<script type="text/javascript">
Agility.Search.Init({ url: "https://search.agilitycms.com", websiteName: "MySiteName", lang:"", authKey: "xxxxxxxxxxxxxx" });
</script>

 Now, you can either use the simple embed method or write your own Javascript code to use the REST API.

0 out of 0 found this helpful

Comments

1 comment
  • @Joel - should this be added in the Head or the Body of the HTML document?

    0
    Comment actions Permalink

Please sign in to leave a comment.